diff options
author | xue <> | 2006-05-29 03:08:07 +0000 |
---|---|---|
committer | xue <> | 2006-05-29 03:08:07 +0000 |
commit | 2ea02214b2fb6bedb58dbbd318ef171a9e146524 (patch) | |
tree | 16b12d9f68986fe204900d1cee4914a0a4035a7b /framework/Web/Javascripts/extended/event.js | |
parent | 8c1edb7f4eced999c9704ec9ff7ba11d88248bbd (diff) |
Merge from 3.0 branch till 1099.
Diffstat (limited to 'framework/Web/Javascripts/extended/event.js')
-rw-r--r-- | framework/Web/Javascripts/extended/event.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/framework/Web/Javascripts/extended/event.js b/framework/Web/Javascripts/extended/event.js index 29a8d5aa..4fd041d8 100644 --- a/framework/Web/Javascripts/extended/event.js +++ b/framework/Web/Javascripts/extended/event.js @@ -64,6 +64,7 @@ Object.extend(Event, * <tt>element</tt>. Only HTMLEvent and MouseEvent can be
* dispatched, keyboard events or UIEvent can not be dispatch
* via javascript consistently.
+ * For the "submit" event the submit() method is called.
* @param {Object} element id string or a DOM element.
* @param {String} event type to dispatch.
*/
@@ -86,12 +87,6 @@ Object.extend(Event, document.defaultView, 1, 0, 0, 0, 0, false,
false, false, false, 0, null);
}
- else
- {
- if(typeof(Logger) != "undefined")
- Logger.error("undefined event", type);
- return;
- }
element.dispatchEvent(event);
}
else if(document.createEventObject)
|