diff options
author | wei <> | 2006-04-25 00:27:44 +0000 |
---|---|---|
committer | wei <> | 2006-04-25 00:27:44 +0000 |
commit | fd019bf034ef4dbedfc305c77fed0dbd83a732c4 (patch) | |
tree | afc59b99826308924725074ee34e4f541a1d399a /framework/Web/Javascripts/js/prado.js | |
parent | 72a75d7d0f5681df3fd98c684ab6f22baefb365c (diff) |
Add TListControlValidator. Update client-side validators, datepicker.js, colorpicker.js. Merge to 3.0 if necessary.
Diffstat (limited to 'framework/Web/Javascripts/js/prado.js')
-rw-r--r-- | framework/Web/Javascripts/js/prado.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/js/prado.js b/framework/Web/Javascripts/js/prado.js index 6737d4ce..c7145188 100644 --- a/framework/Web/Javascripts/js/prado.js +++ b/framework/Web/Javascripts/js/prado.js @@ -1299,9 +1299,10 @@ element.dispatchEvent(event); else if(element.fireEvent) { element.fireEvent('on'+type); +if(element[type]) element[type](); } -else +else if(element[type]) element[type](); } }); @@ -1868,9 +1869,9 @@ lastFocus.value = options['EventTarget']; } $('PRADO_POSTBACK_TARGET').value = options['EventTarget']; $('PRADO_POSTBACK_PARAMETER').value = options['EventParameter']; -Event.fireEvent(form,"submit"); if(options['StopEvent']) Event.stop(event); +Event.fireEvent(form,"submit"); } Prado.Element = { |