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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc (+4 lines)
Lines 1-3 Link Here
1
<script type="text/javascript">
2
//<![CDATA[
1
function mergeAuth(authid, summary) {
3
function mergeAuth(authid, summary) {
2
    var alreadySelected = $.cookie('auth_to_merge');
4
    var alreadySelected = $.cookie('auth_to_merge');
3
    if (alreadySelected !== null) {
5
    if (alreadySelected !== null) {
Lines 36-38 $(document).ready(function () { Link Here
36
        mergeAuth($(this).parents('tr').attr('data-authid'), $(this).parents('tr').find('div.authorizedheading').text());
38
        mergeAuth($(this).parents('tr').attr('data-authid'), $(this).parents('tr').find('div.authorizedheading').text());
37
    });
39
    });
38
});
40
});
41
//]]>
42
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt (-1 / +1 lines)
Lines 19-27 function searchauthority() { Link Here
19
function confirm_deletion() {   // not really implemented, but required by phantom delAuthButton code in authorities-toolbar.inc
19
function confirm_deletion() {   // not really implemented, but required by phantom delAuthButton code in authorities-toolbar.inc
20
    return true;
20
    return true;
21
}
21
}
22
[% INCLUDE 'authorities_js.inc' %]
23
//]]>
22
//]]>
24
</script>
23
</script>
24
[% INCLUDE 'authorities_js.inc' %]
25
</head>
25
</head>
26
<body id="auth_authorities_home" class="auth">
26
<body id="auth_authorities_home" class="auth">
27
[% INCLUDE 'header.inc' %]
27
[% INCLUDE 'header.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt (-2 / +1 lines)
Lines 36-44 function searchauthority() { Link Here
36
    window.location="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&authtypecode="+X+"&value="+Y+"&marclist=&and_or=and&excluding=&operator=contains";
36
    window.location="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&authtypecode="+X+"&value="+Y+"&marclist=&and_or=and&excluding=&operator=contains";
37
}
37
}
38
38
39
[% INCLUDE 'authorities_js.inc' %]
40
//]]>
39
//]]>
41
</script>
40
</script>
41
[% INCLUDE 'authorities_js.inc' %]
42
</head>
42
</head>
43
<body id="auth_searchresultlist" class="auth">
43
<body id="auth_searchresultlist" class="auth">
44
[% INCLUDE 'header.inc' %]
44
[% INCLUDE 'header.inc' %]
45
- 

Return to bug 11227