Revert "when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars"
... jquery isn't reliably available; trying to do this with YUI instead
This reverts commit 1ef7460815.
This commit is contained in:
parent
1ef7460815
commit
6dbc6697c5
1 changed files with 0 additions and 4 deletions
|
|
@ -32,10 +32,6 @@ WebGUI.Toolbar.createAll = function( ) {
|
|||
var holders = YAHOO.util.Selector.query( '.wg-admin-toolbar' );
|
||||
for ( var i = 0; i < holders.length; i++ ) {
|
||||
var holder = holders[i];
|
||||
|
||||
// when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars
|
||||
$(holder).empty();
|
||||
|
||||
var assetId = holder.id.match( /wg-admin-toolbar-(.+)/ )[1];
|
||||
var toolbar = new WebGUI.Toolbar( assetId, { "parent" : holder } );
|
||||
toolbar.getAssetData( assetId, bind( toolbar, toolbar.render ) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue