Merge from ECOMP's repository
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / directives / parameterBlockDirective.js
index d36b382..32c34e9 100755 (executable)
@@ -375,7 +375,8 @@ var parameterBlockDirective = function($log, PARAMETER, UtilityService, $compile
                 }\r
                 element.replaceWith($compile(element.html(html))(scope));\r
 \r
-                element.find("input, select").bind("change", function() {\r
+                element.find("input, select").unbind("change.namespace1");\r
+                element.find("input, select").bind("change.namespace1", function() {\r
                     callback(this, scope);\r
                 });\r
             }\r
@@ -391,7 +392,8 @@ var parameterBlockDirective = function($log, PARAMETER, UtilityService, $compile
                             }\r
                         }\r
                     });\r
-                element.find("input, select").bind("change", function() {\r
+                element.find("input, select").unbind("change.namespace2");\r
+                element.find("input, select").bind("change.namespace2", function() {\r
                     callback(this, scope);\r
                 });\r
             }\r