aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src
diff options
context:
space:
mode:
authorChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2015-10-16 13:58:00 +0200
committerChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2015-10-16 13:58:00 +0200
commit8041cc0b0a238da8b34b0b5fc716b765952df0a0 (patch)
treeffc30e1dd8c053c05d5a1358b640077b31a3c64f /id/ConfigWebTool/src
parenta4c2aa33df6f330b87cc0aa38af6556d2f78b1a4 (diff)
downloadmoa-id-spss-8041cc0b0a238da8b34b0b5fc716b765952df0a0.tar.gz
moa-id-spss-8041cc0b0a238da8b34b0b5fc716b765952df0a0.tar.bz2
moa-id-spss-8041cc0b0a238da8b34b0b5fc716b765952df0a0.zip
addon button value for storkattribute delete
Diffstat (limited to 'id/ConfigWebTool/src')
-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 2bf024ecb..fb71854c2 100644
--- a/id/ConfigWebTool/src/main/webapp/js/common.js
+++ b/id/ConfigWebTool/src/main/webapp/js/common.js
@@ -261,7 +261,7 @@ function newStorkAttribute() {
var lastindex = parseInt(clone.innerHTML.match(/name="storkconfig.attributes\[(\d)/)[1]);
var nextindex = lastindex + 1;
clone.innerHTML = clone.innerHTML.replace(/name="storkconfig.attributes\[\d/g, 'name="storkconfig.attributes[' + nextindex);
- clone.innerHTML = clone.innerHTML.replace(/(.*" value=").*?(".*)/g, '$1$2');
+ clone.innerHTML = clone.innerHTML.replace(/(.*" value=").*?(".*)/, '$1$2');
target.parentNode.appendChild(clone);
}
function newAp() {
@@ -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=").*?(".*)/, '$1$2');
+ clone.innerHTML = clone.innerHTML.replace(/(.*" value=").*?(".*)/g, '$1$2');
target.parentNode.appendChild(clone);
} \ No newline at end of file