Subject tooltips in OPAC don't work like the others user/mrpeters-isl/fix_rdetail_summary_subject_tooltip
authorRajul Bhatnagar <rajulbhatnagar93@gmail.com>
Wed, 11 Apr 2012 19:52:21 +0000 (15:52 -0400)
committerMichael Peters <mrpeters@library.in.gov>
Wed, 11 Apr 2012 19:53:54 +0000 (15:53 -0400)
This is a fix for Tooltips not displaying on Subject links in rdetail_summary.xml.
I added an Entity for the tooltip for us locale and referenced it in the XML file.

Signed-off-by: Rajul Bhatnagar <rajulbhatnagar93@gmail.com>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml

index 37ca427..2e4ee72 100644 (file)
                                     current += '&#x2d;&#x2d; ';
                                 }
                                 total += BT.textContent(list[i]) + ' ';
-                                current += '<a title='&rdetail.subject.search;' href="rresult.xml?rt=subject&tp=subject&t=' + total.replace(/\s+$/, '');
+                                current += '<a title="&rdetail.subject.search;" href="rresult.xml?rt=subject&tp=subject&t=' + total.replace(/\s+$/, '');
                                 for (var p in other_params) {
                                     if (cgi.param(other_params[p]))
                                         current += '&' + other_params[p] + '=' + cgi.param(other_params[p]);