Ticket #4504: 4504.patch
File 4504.patch, 1.1 KB (added by , 14 years ago) |
---|
-
_source/plugins/dialog/plugin.js
1854 1854 var preventKeyBubbling = function( e ) 1855 1855 { 1856 1856 if ( e.data.getKeystroke() in preventKeyBubblingKeys ) 1857 e.data. preventDefault( true);1857 e.data.stopBubble(); 1858 1858 }; 1859 1859 1860 1860 (function() -
_source/core/dom/event.js
87 87 $.returnValue = false; 88 88 89 89 if ( stopPropagation ) 90 { 91 if ( $.stopPropagation ) 92 $.stopPropagation(); 93 else 94 $.cancelBubble = true; 95 } 90 this.stopBubble(); 91 }, 92 93 stopBubble : function() 94 { 95 var $ = this.$; 96 if ( $.stopPropagation ) 97 $.stopPropagation(); 98 else 99 $.cancelBubble = true; 96 100 }, 101 97 102 /** 98 103 * Returns the DOM node where the event was targeted to. 99 104 * @returns {CKEDITOR.dom.node} The target DOM node.