summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2012-04-14 14:38:05 +0000
committerctrlaltca@gmail.com <>2012-04-14 14:38:05 +0000
commit19ae94c152b5c654ee53b4655b73185addc84c67 (patch)
treedfb46738a4e0e5dcbecef906062c233a1136ff27 /framework/Web/Javascripts/source
parent46550b64a9be1420c0eb015935b22fc1e48af30e (diff)
more tests fixing
Diffstat (limited to 'framework/Web/Javascripts/source')
-rwxr-xr-xframework/Web/Javascripts/source/prado/activecontrols/activedatepicker.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/activedatepicker.js b/framework/Web/Javascripts/source/prado/activecontrols/activedatepicker.js
index a04a0243..1b0b1492 100755
--- a/framework/Web/Javascripts/source/prado/activecontrols/activedatepicker.js
+++ b/framework/Web/Javascripts/source/prado/activecontrols/activedatepicker.js
@@ -77,8 +77,11 @@ Prado.WebUI.TActiveDatePicker = Class.create(Prado.WebUI.TDatePicker,
}
if (typeof(this.options.OnDateChanged) == "function") this.options.OnDateChanged(this, date);
- // Make callback request
- var request = new Prado.CallbackRequest(this.options.EventTarget,this.options);
- request.dispatch();
+ if(this.options['AutoPostBack']==true)
+ {
+ // Make callback request
+ var request = new Prado.CallbackRequest(this.options.EventTarget,this.options);
+ request.dispatch();
+ }
}
});