Create Shortcut - Admin bar clipboard display (#12432): all menu operations/AssetHelper calls now trigger a clipboard refresh

This commit is contained in:
Scott Walters 2013-09-26 18:36:58 -05:00
parent 69ea5b10ee
commit 15e71bf39b

View file

@ -439,7 +439,7 @@ WebGUI.Admin.prototype.requestUpdateClipboard
this.updateClipboard( clipboard );
},
failure : function (o) {
alert("Failed to refresh the clipboard");
},
scope: this
};
@ -772,6 +772,7 @@ WebGUI.Admin.prototype.processPlugin
else {
alert( "Unknown plugin response: " + YAHOO.lang.JSON.stringify(resp) );
}
this.requestUpdateClipboard(); // always do this
};
/**
@ -1938,7 +1939,7 @@ YAHOO.lang.extend( WebGUI.Admin.Tree, WebGUI.Admin.AssetTable );
WebGUI.Admin.Tree.prototype.runHelperForSelected
= function ( helperId, title ) {
// XXXX this is busted
alert("running WebGUI.Admin.Tree.prototype.runHelperForSelected which I think is dead code");
// alert("running WebGUI.Admin.Tree.prototype.runHelperForSelected which I think is dead code"); // it isn't; see the buttons on the bottom of tree view
var self = this;
var assetIds = this.getSelected();