aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakozak2011-11-25 01:37:43 (EST)
committerWinston Prakash2011-12-01 20:47:30 (EST)
commitf8c8d782030eff36be1420bd54dca6ec4480de8a (patch)
tree1b2bbf648f6ded6bbc2e88b1eab169630c62f27f
parent3b3d20abcff369e4678686940916041428f1209a (diff)
downloadorg.eclipse.hudson.core-f8c8d782030eff36be1420bd54dca6ec4480de8a.zip
org.eclipse.hudson.core-f8c8d782030eff36be1420bd54dca6ec4480de8a.tar.gz
org.eclipse.hudson.core-f8c8d782030eff36be1420bd54dca6ec4480de8a.tar.bz2
Optimize cascading.js. Bind onChange handler only for configuration form
Signed-off-by: Winston Prakash <winston.prakash@gmail.com>
-rw-r--r--hudson-war/src/main/webapp/scripts/cascading.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/hudson-war/src/main/webapp/scripts/cascading.js b/hudson-war/src/main/webapp/scripts/cascading.js
index aca9ee7..f07108c 100644
--- a/hudson-war/src/main/webapp/scripts/cascading.js
+++ b/hudson-war/src/main/webapp/scripts/cascading.js
@@ -52,7 +52,7 @@ function onCascadingProjectUpdated() {
function onProjectPropertyChanged() {
if(isRunAsTest) return;
- jQuery('input').change(function() {
+ jQuery('form[name=config] input').change(function() {
var ref = jQuery(this).attr('id');
var cascadingProperty = '';
if (ref != '') {