Ticket #5046: 5046.patch
File 5046.patch, 759 bytes (added by , 13 years ago) |
---|
-
_source/adapters/jquery.js
183 183 // Bind to submit event. 184 184 $element.parents( 'form' ).submit( onSubmit ); 185 185 186 // Bind to form-pre-serialize from jQuery Forms plugin. 187 $element.parents( 'form' ).bind( 'form-pre-serialize', onSubmit ); 188 186 189 // Unbind when editor destroyed. 187 190 $element.bind( 'destroy.ckeditor', function() 188 191 { 189 192 $element.parents( 'form' ).unbind( 'submit', onSubmit ); 193 $element.parents( 'form' ).unbind( 'form-pre-serialize', onSubmit ); 190 194 }); 191 195 } 192 196