summaryrefslogtreecommitdiff
path: root/program/js/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/common.js')
-rw-r--r--program/js/common.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/program/js/common.js b/program/js/common.js
index 407da4170..25b654612 100644
--- a/program/js/common.js
+++ b/program/js/common.js
@@ -634,20 +634,3 @@ if (bw.ie)
return o;
}
}
-
-
-// Fire event on specified element
-function exec_event(element,event)
-{
- if (document.createEventObject) {
- // dispatch for IE
- var evt = document.createEventObject();
- return element.fireEvent('on'+event,evt)
- }
- else {
- // dispatch for firefox + others
- var evt = document.createEvent("HTMLEvents");
- evt.initEvent(event, true, true); // event type,bubbling,cancelable
- return !element.dispatchEvent(evt);
- }
-}