Ticket #4361: 4361.patch
File 4361.patch, 926 bytes (added by , 15 years ago) |
---|
-
_source/core/ui.js
75 75 if ( command ) 76 76 command.uiItems.push( result ); 77 77 78 // Replace ui item definitions with created ui instances(#4361). 79 this._.items[ name ] = result; 80 78 81 return result; 79 82 }, 80 83 -
_source/plugins/toolbar/plugin.js
201 201 } 202 202 203 203 var itemObj = item.render( editor, output ); 204 // Associate toolbar item instance with UI object (#4361). 205 item.toolbarItem = itemObj; 204 206 index = toolbarObj.items.push( itemObj ) - 1; 205 207 206 208 if ( index > 0 )