aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/webapp/js/common.js
diff options
context:
space:
mode:
authorChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2015-10-16 13:41:30 +0200
committerChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2015-10-16 13:41:30 +0200
commit35458613ee06f051643f8949893e8210bef31685 (patch)
tree9970d5d693852db421182ecc25d0216bcc1bd93f /id/ConfigWebTool/src/main/webapp/js/common.js
parentaed2f6f6511d9fd027b24f3810f057f5182c3d60 (diff)
downloadmoa-id-spss-35458613ee06f051643f8949893e8210bef31685.tar.gz
moa-id-spss-35458613ee06f051643f8949893e8210bef31685.tar.bz2
moa-id-spss-35458613ee06f051643f8949893e8210bef31685.zip
Add button caption if new stork attribute is added
Diffstat (limited to 'id/ConfigWebTool/src/main/webapp/js/common.js')
-rw-r--r--id/ConfigWebTool/src/main/webapp/js/common.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/js/common.js b/id/ConfigWebTool/src/main/webapp/js/common.js
index 1927c2dc7..2bf024ecb 100644
--- a/id/ConfigWebTool/src/main/webapp/js/common.js
+++ b/id/ConfigWebTool/src/main/webapp/js/common.js
@@ -251,7 +251,7 @@ function newPeps() {
</div>\
</td>\
<td>\
- <input type="button" class="general_conf_buttons" value="Löschen" onclick="this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);"></td>\
+ <input type="button" class="button_narrow" value="Löschen" onclick="this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);"></td>\
</tr>';
target.parentNode.appendChild(clone);
}
@@ -270,6 +270,6 @@ function newAp() {
var lastindex = parseInt(clone.innerHTML.match(/name="storkOA.attributeProviderPlugins\[(\d)/)[1]);
var nextindex = lastindex + 1;
clone.innerHTML = clone.innerHTML.replace(/name="storkOA.attributeProviderPlugins\[\d/g, 'name="storkOA.attributeProviderPlugins[' + nextindex);
- clone.innerHTML = clone.innerHTML.replace(/(.*" value=").*?(".*)/g, '$1$2');
+ clone.innerHTML = clone.innerHTML.replace(/(.*" value=").*?(".*)/, '$1$2');
target.parentNode.appendChild(clone);
} \ No newline at end of file