Changeset 4923
- Timestamp:
- 01/14/10 21:49:40 (3 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/filebrowser/plugin.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r4921 r4923 51 51 <li><a href="http://dev.fckeditor.net/ticket/4863">#4863</a> : Fixing iframedialog's height doesn't stretch to 100%</li> 52 52 <li><a href="http://dev.fckeditor.net/ticket/4964">#4964</a> : The BACKSPACE key positioning was not correct in some cases with Firefox.</li> 53 <li><a href="http://dev.fckeditor.net/ticket/4773">#4773</a> : The fileBrowser plugin overwrote any onClick function for a fileButton element.</li> 53 54 </ul> 54 55 <h3> -
CKEditor/trunk/_source/plugins/filebrowser/plugin.js
r4918 r4923 279 279 if ( url ) 280 280 { 281 element.onClick = uploadFile; 281 var onClick = element.onClick; 282 element.onClick = function( evt ) 283 { 284 // "element" here means the definition object, so we need to find the correct 285 // button to scope the event call 286 var sender = evt.sender; 287 if ( onClick && onClick.call( sender, evt ) === false ) 288 return false; 289 290 return uploadFile.call( sender, evt ); 291 }; 292 282 293 element.filebrowser.url = url; 283 294 element.hidden = false;
Note: See TracChangeset
for help on using the changeset viewer.
