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 <ruth@bywatersolutions.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
4710fae55b
commit
8fc65ede3a
|
|
@ -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 %]
|
||||
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue