edit button in toolbar now works properly

This commit is contained in:
Doug Bell 2011-04-20 18:37:49 -05:00
parent 9939e91eda
commit cd15d36ce4

View file

@ -100,8 +100,12 @@ WebGUI.Toolbar.prototype.render
// Edit button
var editButton = new YAHOO.widget.Button({
type : "push",
"container" : this.container,
label : assetData.helpers["edit"].label
label : assetData.helpers["edit"].label,
onclick : {
fn: window.parent.admin.getHelperHandler( this.assetId, "edit", assetData.helpers["edit"] )
}
});
// Add the container to our parent