Ticket #4504: 4504_2.patch
File 4504_2.patch, 1.7 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.stopPropagation(); 1858 1858 }; 1859 1859 1860 1860 (function() -
_source/plugins/sourcearea/plugin.js
80 80 // inside of it (non IE). 81 81 textarea.on( 'mousedown', function( evt ) 82 82 { 83 evt = evt.data.$; 84 if ( evt.stopPropagation ) 85 evt.stopPropagation(); 83 evt.data.stopPropagation(); 86 84 } ); 87 85 } 88 86 -
_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.stopPropagation(); 91 }, 92 93 stopPropagation : 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.