Changeset 4940


Ignore:
Timestamp:
01/18/2010 01:30:28 PM (5 years ago)
Author:
wwalc
Message:

#4399 New feature: return caption/alt text to Image plugin from file browser (added support for callback function)

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r4924 r4940  
    4040                New features:</p>
    4141        <ul>
    42                 <li></li>
     42                <li><a href="http://dev.fckeditor.net/ticket/4399">#4399</a> : Improved support for external file browsers by allowing to execute a callback function.</li>
    4343        </ul>
    4444        <p>
  • CKEditor/trunk/_source/plugins/filebrowser/plugin.js

    r4923 r4940  
    360360                        dialog.getContentElement( targetInput[ 0 ], targetInput[ 1 ] ).reset();
    361361
     362                if ( typeof data == 'function' && data.call( this._.filebrowserSe ) === false )
     363                        return;
     364
    362365                if ( onSelect && onSelect.call( this._.filebrowserSe, fileUrl, data ) === false )
    363366                        return;
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy