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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tt (-1 / +1 lines)
Lines 28-34 Link Here
28
        var index = "[% index %]";
28
        var index = "[% index %]";
29
        var authtypecode = "[% authtypecode %]";
29
        var authtypecode = "[% authtypecode %]";
30
    </script>
30
    </script>
31
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/auth-finder-search.js"></script>
31
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/auth-finder-search_[% KOHA_VERSION %].js"></script>
32
[% END %]
32
[% END %]
33
33
34
[% INCLUDE 'intranet-bottom.inc' popup_window = 1 %]
34
[% INCLUDE 'intranet-bottom.inc' popup_window = 1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt (-1 / +1 lines)
Lines 100-106 Link Here
100
        var index = "[% index %]";
100
        var index = "[% index %]";
101
        var authtypecode = "[% authtypecode %]";
101
        var authtypecode = "[% authtypecode %]";
102
    </script>
102
    </script>
103
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/auth-finder-search.js"></script>
103
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/auth-finder-search_[% KOHA_VERSION %].js"></script>
104
    <script type="text/javascript">
104
    <script type="text/javascript">
105
105
106
        function jumpfull(page){
106
        function jumpfull(page){
(-)a/koha-tmpl/intranet-tmpl/prog/js/auth-finder-search.js (-5 / +8 lines)
Lines 3-13 Link Here
3
$(document).ready(function(){
3
$(document).ready(function(){
4
    $("#clear").on("click",function(e){
4
    $("#clear").on("click",function(e){
5
        e.preventDefault();
5
        e.preventDefault();
6
        finderjumpfull('blinddetail-biblio-search.pl?authid=0&index=' + index );
6
        finderjump('blinddetail-biblio-search.pl?authid=0&index=' + index );
7
    });
7
    });
8
    $("#createnew").on("click",function(e){
8
    $("#createnew").on("click",function(e){
9
        e.preventDefault();
9
        e.preventDefault();
10
        finderjumpfull('authorities.pl?index=' + index + '&authtypecode=' + authtypecode );
10
        finderjump('authorities.pl?index=' + index + '&authtypecode=' + authtypecode, 'full' );
11
    });
11
    });
12
    // marclist
12
    // marclist
13
    $( "#value_any" ).autocomplete({
13
    $( "#value_any" ).autocomplete({
Lines 95-100 $(document).ready(function(){ Link Here
95
    });
95
    });
96
});
96
});
97
97
98
function finderjumpfull(page){
98
function finderjump(page, full){
99
    window.open(page,'','width=100,height=100,resizable=yes,toolbar=false,scrollbars=yes,top');
99
    var window_size = '';
100
    if( full != "full"){
101
        window_size = 'width=100,height=100,';
102
    }
103
    window.open(page,'', window_size + 'resizable=yes,toolbar=false,scrollbars=yes,top');
100
}
104
}
101
- 

Return to bug 19786