Lines 13-18
Link Here
|
13 |
$("#"+ui.panel.id+" input:eq(0)").focus(); |
13 |
$("#"+ui.panel.id+" input:eq(0)").focus(); |
14 |
}); |
14 |
}); |
15 |
|
15 |
|
|
|
16 |
[% IF tab %] |
17 |
$('#addbibliotabs').tabs('option', 'selected', "#[% tab %]"); |
18 |
[% END %] |
19 |
|
16 |
/* check cookie to hide/show marcdocs*/ |
20 |
/* check cookie to hide/show marcdocs*/ |
17 |
if($.cookie("marcdocs_[% borrowernumber %]") == 'false'){ |
21 |
if($.cookie("marcdocs_[% borrowernumber %]") == 'false'){ |
18 |
hideMARCdocLinks(); |
22 |
hideMARCdocLinks(); |
Lines 55-61
Link Here
|
55 |
}); |
59 |
}); |
56 |
$("#saveandcontinue").click(function(){ |
60 |
$("#saveandcontinue").click(function(){ |
57 |
$(".btn-group").removeClass("open"); |
61 |
$(".btn-group").removeClass("open"); |
58 |
redirect("just_save"); |
62 |
var tab = $("#addbibliotabs li.ui-tabs-selected:first a").attr('href'); |
|
|
63 |
tab = tab.replace('#', ''); |
64 |
$("#current_tab").val(tab); |
65 |
redirect("just_save", tab); |
59 |
return false; |
66 |
return false; |
60 |
}); |
67 |
}); |
61 |
|
68 |
|
Lines 352-358
function Changefwk(FwkList) {
Link Here
|
352 |
[% ELSE %] |
359 |
[% ELSE %] |
353 |
<form method="post" name="f" id="f" action="/cgi-bin/koha/cataloguing/addbiblio.pl" onsubmit="return Check();"> |
360 |
<form method="post" name="f" id="f" action="/cgi-bin/koha/cataloguing/addbiblio.pl" onsubmit="return Check();"> |
354 |
<input type="hidden" value="[% IF ( biblionumber ) %]view[% ELSE %]items[% END %]" id="redirect" name="redirect" /> |
361 |
<input type="hidden" value="[% IF ( biblionumber ) %]view[% ELSE %]items[% END %]" id="redirect" name="redirect" /> |
355 |
<input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" /> |
362 |
<input type="hidden" value="" id="current_tab" name="current_tab" /> |
|
|
363 |
<input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" /> |
356 |
[% END %] |
364 |
[% END %] |
357 |
|
365 |
|
358 |
<div id="toolbar" class="btn-toolbar"> |
366 |
<div id="toolbar" class="btn-toolbar"> |
359 |
- |
|
|