aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakozak2011-11-25 01:37:43 (EST)
committerWinston Prakash2011-12-01 20:47:30 (EST)
commita360fdb020921bd503e4e31b66557875d54c72d6 (patch)
treec8190f7aeda144e197997a3295c00be324f9f777
parent61ae82b6715aa90e2f9e648e0ff42e87c4e6a03a (diff)
downloadorg.eclipse.hudson.core-a360fdb020921bd503e4e31b66557875d54c72d6.zip
org.eclipse.hudson.core-a360fdb020921bd503e4e31b66557875d54c72d6.tar.gz
org.eclipse.hudson.core-a360fdb020921bd503e4e31b66557875d54c72d6.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 != '') {