Ticket #3632: 3632.patch
File 3632.patch, 1.1 KB (added by , 16 years ago) |
---|
-
_source/plugins/htmldataprocessor/plugin.js
21 21 ] 22 22 }; 23 23 24 /** 25 * IE sucks with dynamic 'name' attribute after element is created, '_cke_saved_name' is used instead for this attribute. 26 */ 27 var removeName = function( element ) 28 { 29 var attribs = element.attributes; 30 31 if ( attribs._cke_saved_name ) 32 delete attribs.name; 33 }; 34 24 35 var defaultHtmlFilterRules = 25 36 { 26 37 elementNames : … … 72 83 delete attribs.href; 73 84 }, 74 85 75 /** 76 * IE sucks with dynamic 'name' attribute after element is created, '_cke_saved_name' is used instead for this attribute. 77 */ 78 input : function( element ) 79 { 80 var attribs = element.attributes; 81 82 if ( attribs._cke_saved_name ) 83 delete attribs.name; 84 } 86 input : removeName, 87 form : removeName 85 88 }, 86 89 87 90 attributes :