Ticket #5882: 5882.patch
File 5882.patch, 968 bytes (added by , 14 years ago) |
---|
-
_source/plugins/dialog/plugin.js
938 938 */ 939 939 selectPage : function( id ) 940 940 { 941 if ( this._.currentTabId === id ) 942 return; 943 944 // Returning true means that the event has been canceled 945 if ( this.fire( 'selectPage', { page : id, currentPage : this._.currentTabId } ) === true ) 946 return; 947 941 948 // Hide the non-selected tabs and pages. 942 949 for ( var i in this._.tabs ) 943 950 { … … 2948 2955 * @param {CKEDITOR.editor} editor The editor instance that will use the 2949 2956 * dialog. 2950 2957 */ 2958 2959 /** 2960 * Fired when a tab is going to be selected in a dialog 2961 * @name dialog#selectPage 2962 * @event 2963 * @param String page The id of the page that it's gonna be selected. 2964 * @param String currentPage The id of the current page. 2965 */