diff options
author | xue <> | 2006-04-25 01:31:43 +0000 |
---|---|---|
committer | xue <> | 2006-04-25 01:31:43 +0000 |
commit | 5ba6cd4be568f686d890835a77586077cde1a943 (patch) | |
tree | 54138a79e147bcfb0f6833d2d284a2f825c18f2a /framework/Web/Javascripts/extended/event.js | |
parent | 1afc913c386bba8e6072c278b0eb4fd9818ab310 (diff) |
Merge from 3.0 branch till 967.
Diffstat (limited to 'framework/Web/Javascripts/extended/event.js')
-rw-r--r-- | framework/Web/Javascripts/extended/event.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/extended/event.js b/framework/Web/Javascripts/extended/event.js index 40cf60a1..13e875da 100644 --- a/framework/Web/Javascripts/extended/event.js +++ b/framework/Web/Javascripts/extended/event.js @@ -95,9 +95,10 @@ Object.extend(Event, else if(element.fireEvent)
{
element.fireEvent('on'+type);
- element[type]();
+ if(element[type])
+ element[type]();
}
- else
+ else if(element[type])
element[type]();
}
});
\ No newline at end of file |