From dd6a297c069de4d0a11b55267969a36f93445f75 Mon Sep 17 00:00:00 2001 From: Scott Walters Date: Tue, 10 May 2011 13:58:44 -0400 Subject: [PATCH] make the admin view [Edit] controls right-click-able so I can continue to right-click-open-in-new-tab them. --- www/extras/admin/toolbar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/extras/admin/toolbar.js b/www/extras/admin/toolbar.js index bfa29e892..72421a7e6 100644 --- a/www/extras/admin/toolbar.js +++ b/www/extras/admin/toolbar.js @@ -100,9 +100,10 @@ WebGUI.Toolbar.prototype.render // Edit button var editButton = new YAHOO.widget.Button({ - type : "push", + type : "link", "container" : this.container, label : assetData.helpers["edit"].label, + href : assetData.helpers["edit"].url, onclick : { fn: window.parent.admin.getHelperHandler( this.assetId, "edit", assetData.helpers["edit"] ) }