diff options
author | ctrlaltca@gmail.com <> | 2012-04-14 14:38:05 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2012-04-14 14:38:05 +0000 |
commit | 19ae94c152b5c654ee53b4655b73185addc84c67 (patch) | |
tree | dfb46738a4e0e5dcbecef906062c233a1136ff27 /framework/Web/Javascripts | |
parent | 46550b64a9be1420c0eb015935b22fc1e48af30e (diff) |
more tests fixing
Diffstat (limited to 'framework/Web/Javascripts')
-rwxr-xr-x | framework/Web/Javascripts/source/prado/activecontrols/activedatepicker.js | 9 |
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();
+ }
}
});
|