[Koha-bugs] [Bug 11937] opac link doesn't open in new window

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 13 18:33:35 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937

--- Comment #1 from Nicole C. Engard <nengard at gmail.com> ---
Hit enter too fast.

On the staff detail page there is a link to open the opac view in a new window.
It used to open in a new window, now it doesn't. I checked the code:

    [% IF ( OpacUrl ) %]
        <li><strong>OPAC view:</strong>
        <a href="http://[% OpacUrl
%]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]"
target="_blank">Open in new window</a>
        </li>
    [% END %]

and the resulting page code:

<span class="results_summary"><span class="label">OPAC view: </span><a
href="http://kohavm/cgi-bin/koha/opac-detail.pl?biblionumber=4091"
target="_blank">Open in new window</a>.
        </span>

Both have the target="_blank" so what's stopping it from opening in a new
window?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list