Create Shortcut - Admin bar clipboard display (#12432): all menu operations/AssetHelper calls now trigger a clipboard refresh
This commit is contained in:
parent
69ea5b10ee
commit
15e71bf39b
1 changed files with 3 additions and 2 deletions
|
|
@ -439,7 +439,7 @@ WebGUI.Admin.prototype.requestUpdateClipboard
|
||||||
this.updateClipboard( clipboard );
|
this.updateClipboard( clipboard );
|
||||||
},
|
},
|
||||||
failure : function (o) {
|
failure : function (o) {
|
||||||
|
alert("Failed to refresh the clipboard");
|
||||||
},
|
},
|
||||||
scope: this
|
scope: this
|
||||||
};
|
};
|
||||||
|
|
@ -772,6 +772,7 @@ WebGUI.Admin.prototype.processPlugin
|
||||||
else {
|
else {
|
||||||
alert( "Unknown plugin response: " + YAHOO.lang.JSON.stringify(resp) );
|
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
|
WebGUI.Admin.Tree.prototype.runHelperForSelected
|
||||||
= function ( helperId, title ) {
|
= function ( helperId, title ) {
|
||||||
// XXXX this is busted
|
// 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 self = this;
|
||||||
var assetIds = this.getSelected();
|
var assetIds = this.getSelected();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue