Ticket #2962: 2962.patch
File 2962.patch, 1.6 KB (added by , 14 years ago) |
---|
-
_source/plugins/link/dialogs/link.js
128 128 // IE BUG: target attribute is an empty string instead of null in IE if it's not set. 129 129 if ( !target ) 130 130 { 131 var onclick = element.getAttribute( '_cke_ saved_onclick' ) || element.getAttribute( 'onclick' ),131 var onclick = element.getAttribute( '_cke_pa_onclick' ) || element.getAttribute( 'onclick' ), 132 132 onclickMatch = onclick && onclick.match( popupRegex ); 133 133 if ( onclickMatch ) 134 134 { … … 1057 1057 addFeature( 'top' ); 1058 1058 1059 1059 onclickList.push( featureList.join( ',' ), '\'); return false;' ); 1060 attributes._cke_ saved_onclick = onclickList.join( '' );1060 attributes._cke_pa_onclick = onclickList.join( '' ); 1061 1061 } 1062 1062 else 1063 1063 { 1064 1064 if ( data.target.type != 'notSet' && data.target.name ) 1065 1065 attributes.target = data.target.name; 1066 removeAttributes.push( '_cke_ saved_onclick', 'onclick' );1066 removeAttributes.push( '_cke_pa_onclick', 'onclick' ); 1067 1067 } 1068 1068 } 1069 1069 -
_source/core/htmlparser/element.js
19 19 if ( attributes._cke_saved_href ) 20 20 attributes.href = attributes._cke_saved_href; 21 21 22 if ( attributes._cke_pa_onclick ) 23 attributes.onclick = attributes._cke_pa_onclick; 24 22 25 /** 23 26 * The element name. 24 27 * @type String