Lines 12-18
Link Here
|
12 |
$("#loading").hide(); |
12 |
$("#loading").hide(); |
13 |
}); |
13 |
}); |
14 |
var Sticky; |
14 |
var Sticky; |
15 |
$(document).ready(function() { |
15 |
$(document).ready(function() { |
16 |
var tabs = $('#authoritytabs').tabs(); |
16 |
var tabs = $('#authoritytabs').tabs(); |
17 |
$( "ul.sortable_field", tabs ).sortable(); |
17 |
$( "ul.sortable_field", tabs ).sortable(); |
18 |
$( "ul.sortable_subfield", tabs ).sortable(); |
18 |
$( "ul.sortable_subfield", tabs ).sortable(); |
Lines 27-41
Link Here
|
27 |
} |
27 |
} |
28 |
}); |
28 |
}); |
29 |
$("#z3950submit").click(function(){ |
29 |
$("#z3950submit").click(function(){ |
30 |
if (confirm(_("Please note that this Z39.50 search could replace the current record."))){ |
30 |
var strQuery = GetZ3950Terms(); |
31 |
var strQuery = GetZ3950Terms(); |
31 |
if(strQuery){ |
32 |
if(strQuery){ |
32 |
window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl?authid=[% authid | html %]"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes'); |
33 |
window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl?authid=[% authid | html %]"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes'); |
|
|
34 |
} |
35 |
} |
33 |
} |
36 |
return false; |
34 |
return false; |
37 |
}); |
35 |
}); |
38 |
}); |
36 |
}); |
39 |
|
37 |
|
40 |
/** |
38 |
/** |
41 |
* check if z3950 mandatories are set or not |
39 |
* check if z3950 mandatories are set or not |
Lines 217-223
function confirmnotdup(redirect){
Link Here
|
217 |
<div id="toolbar" class="btn-toolbar"> |
215 |
<div id="toolbar" class="btn-toolbar"> |
218 |
<div class="btn-group"><a href="#" id="addauth" class="btn btn-default" accesskey="w"><i class="fa fa-save"></i> Save</a></div> |
216 |
<div class="btn-group"><a href="#" id="addauth" class="btn btn-default" accesskey="w"><i class="fa fa-save"></i> Save</a></div> |
219 |
<div class="btn-group"> |
217 |
<div class="btn-group"> |
220 |
<a class="btn btn-default" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50 search</a> |
218 |
[% IF ( authid ) %] |
|
|
219 |
<a class="btn btn-default" id="z3950submit" href="#"><i class="fa fa-search"></i> Replace record via Z39.50/SRU search</a> |
220 |
[% ELSE %] |
221 |
<a class="btn btn-default" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a> |
222 |
[% END %] |
221 |
</div> |
223 |
</div> |
222 |
<div class="btn-group"> |
224 |
<div class="btn-group"> |
223 |
[% IF ( authid ) %] |
225 |
[% IF ( authid ) %] |
224 |
- |
|
|