View | Details | Raw Unified | Return to bug 12708
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js (-2 / +7 lines)
Lines 81-87 function logOut(){ Link Here
81
}
81
}
82
82
83
function openHelp(){
83
function openHelp(){
84
    openWindow("/cgi-bin/koha/help.pl","Koha help",600,600);
84
    openWindow("/cgi-bin/koha/help.pl","KohaHelp",600,600);
85
}
85
}
86
86
87
jQuery.fn.preventDoubleFormSubmit = function() {
87
jQuery.fn.preventDoubleFormSubmit = function() {
Lines 98-104 function openWindow(link,name,width,height) { Link Here
98
    name = (typeof name == "undefined")?'popup':name;
98
    name = (typeof name == "undefined")?'popup':name;
99
    width = (typeof width == "undefined")?'600':width;
99
    width = (typeof width == "undefined")?'600':width;
100
    height = (typeof height == "undefined")?'400':height;
100
    height = (typeof height == "undefined")?'400':height;
101
    var newin=window.open(link,name,'width='+width+',height='+height+',resizable=yes,toolbar=false,scrollbars=yes,top');
101
    //IE <= 9 can't handle a "name" with whitespace
102
    try {
103
        var newin=window.open(link,name,'width='+width+',height='+height+',resizable=yes,toolbar=false,scrollbars=yes,top');
104
    } catch(e) {
105
        var newin=window.open(link,null,'width='+width+',height='+height+',resizable=yes,toolbar=false,scrollbars=yes,top');
106
    }
102
}
107
}
103
108
104
// Use this function to remove the focus from any element for
109
// Use this function to remove the focus from any element for
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt (-1 / +1 lines)
Lines 154-160 function confirmnotdup(redirect){ Link Here
154
[% IF ( duplicateauthid ) %]
154
[% IF ( duplicateauthid ) %]
155
        <div class="dialog alert">
155
        <div class="dialog alert">
156
                <h4>Duplicate record suspected</h4>
156
                <h4>Duplicate record suspected</h4>
157
                <p>Is this a duplicate of <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]" onclick="openWindow('/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]&amp;popup=1', 'Duplicate authority','800','600'); return false;" class="button">[% duplicateauthvalue %]</a>?</p>
157
                <p>Is this a duplicate of <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]" onclick="openWindow('/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]&amp;popup=1', 'DuplicateAuthority','800','600'); return false;" class="button">[% duplicateauthvalue %]</a>?</p>
158
158
159
                <form action="authorities.pl" method="get">
159
                <form action="authorities.pl" method="get">
160
                    <input type="hidden" name="authid" value="[% duplicateauthid %]" />
160
                    <input type="hidden" name="authid" value="[% duplicateauthid %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +1 lines)
Lines 403-409 function Changefwk(FwkList) { Link Here
403
        [% IF ( duplicatebiblionumber ) %]
403
        [% IF ( duplicatebiblionumber ) %]
404
                    <div class="dialog alert">
404
                    <div class="dialog alert">
405
                        <h4>Duplicate record suspected</h4>
405
                        <h4>Duplicate record suspected</h4>
406
                        <p>Is this a duplicate of <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]" onclick="openWindow('/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]&amp;popup=1', 'Duplicate biblio','800','600'); return false;">[% duplicatetitle %]</a>?</p>
406
                        <p>Is this a duplicate of <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]" onclick="openWindow('/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]&amp;popup=1', 'DuplicateBiblio','800','600'); return false;">[% duplicatetitle %]</a>?</p>
407
                        [% IF ( CAN_user_editcatalogue_edit_items ) %]<form action="/cgi-bin/koha/cataloguing/additem.pl" method="get">
407
                        [% IF ( CAN_user_editcatalogue_edit_items ) %]<form action="/cgi-bin/koha/cataloguing/additem.pl" method="get">
408
                                                    <input type="hidden" name="biblionumber" value="[% duplicatebiblionumber %]" />
408
                                                    <input type="hidden" name="biblionumber" value="[% duplicatebiblionumber %]" />
409
                                                    <input type="submit" class="edit" value="Yes: Edit existing items" />
409
                                                    <input type="submit" class="edit" value="Yes: Edit existing items" />
410
- 

Return to bug 12708