From 8fc65ede3a2d2a14f0c867e1005b17d2ab3163e0 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Wed, 11 May 2011 01:55:33 -0400 Subject: [PATCH] Bug 6325 Bib detail - z39.50 button functionality should be under "Edit" menu Moves the button functionality under the "Edit" drop down, as "Replace Record via Z39.50" To test: Click Edit -> Replace Record via Z39.50 and attempt to replace the record. Signed-off-by: D Ruth Bavousett Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/includes/cat-toolbar.inc | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index 3c32160b21..97664946e3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -98,6 +98,7 @@ function confirm_items_deletion() { [% IF ( CAN_user_editcatalogue_edit_items ) %]{ text: _("Edit Items"), url: "/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]" },[% END %] [% IF ( CAN_user_editcatalogue_edit_items ) %]{ text: _("Attach Item"), url: "/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]" },[% END %] [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]{ text: _("Edit as New (Duplicate)"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&frameworkcode=&op=duplicate" },[% END %] + [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]{ text: _("Replace Record via Z39.50"), onclick: {fn: PopupZ3950 } },[% END %] [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]{ text: _("Delete Record"), onclick: {fn: confirm_deletion }[% IF ( count ) %],id:'disabled'[% END %] },[% END %] [% IF ( CAN_user_editcatalogue_edit_items ) %]{ text: _("Delete all Items"), onclick: {fn: confirm_items_deletion } }[% END %] ]; @@ -182,15 +183,7 @@ function confirm_items_deletion() { }); [% END %] [% END %][% END %] - [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] - new YAHOO.widget.Button({ - id: "z3950search", - type: "button", - label: _("Z39.50 Search"), - container: this, - onclick: {fn:function(){PopupZ3950()}} - }); - [% END %] + }); //]]> -- 2.39.5