Bugzilla – Attachment 23202 Details for
Bug 11316
plugin icon missing tooltip in addbiblio.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11316 - plugin icon missing tooltip in addbiblio.pl
Bug-11316---plugin-icon-missing-tooltip-in-addbibl.patch (text/plain), 2.54 KB, created by
Mark Tompsett
on 2013-11-27 18:22:13 UTC
(
hide
)
Description:
Bug 11316 - plugin icon missing tooltip in addbiblio.pl
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2013-11-27 18:22:13 UTC
Size:
2.54 KB
patch
obsolete
>From da110558e211f66560ff1c3655ace9fbb7679518 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 27 Nov 2013 13:16:56 -0500 >Subject: [PATCH] Bug 11316 - plugin icon missing tooltip in addbiblio.pl > >By adding: > title=\"Tag editor\" >into the HTML generated in addbiblio, a tooltip displaying >'Tag editor' appears when the moust is hovered over the >plugin icon. > >Test Plan: >1) Log into Staff client >2) Click the 'Search the catalog' tab >3) Type something which will generate results >4) Click the title of a result >5) Click the 'Edit' button >6) Scroll down and click the 'Edit Record' >7) Look through the various tabs and notice that all the plugin > icons have no tooltip. >8) Apply the patch >9) Refresh the page >10) All the plugin icons should have the tooltip text of > 'Tag editor'. >--- > cataloguing/addbiblio.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index 5069af9..12c9383 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -392,7 +392,7 @@ sub create_input { > ($is_readonly ? "readonly=\"readonly\"" : ""). > "\/> > <span class=\"subfield_controls\"><a href=\"#\" class=\"buttonDot tag_editor\" >- onclick=\"openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'".$tagslib->{$tag}->{$subfield}->{authtypecode}."','biblio'); return false;\" tabindex=\"1\">Tag editor</a></span> >+ onclick=\"openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'".$tagslib->{$tag}->{$subfield}->{authtypecode}."','biblio'); return false;\" tabindex=\"1\" title=\"Tag editor\">Tag editor</a></span> > "; > # it's a plugin field > } >@@ -421,7 +421,7 @@ sub create_input { > size=\"67\" > maxlength=\"".$subfield_data{maxlength}."\" > onblur=\"Blur$function_name($index_tag); \" \/> >- <span class=\"subfield_controls\"><a href=\"#\" class=\"buttonDot tag_editor\" onclick=\"Clic$function_name('$subfield_data{id}'); return false;\" tabindex=\"1\">Tag editor</a></span> >+ <span class=\"subfield_controls\"><a href=\"#\" class=\"buttonDot tag_editor\" onclick=\"Clic$function_name('$subfield_data{id}'); return false;\" tabindex=\"1\" title=\"Tag editor\">Tag editor</a></span> > $javascript"; > } else { > warn "Plugin Failed: $plugin"; >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11316
:
23202
|
23880
|
23911