Lines 87-94
function confirm_deletion(biblionumber,itemnumber) {
Link Here
|
87 |
|
87 |
|
88 |
$(document).ready(function() { |
88 |
$(document).ready(function() { |
89 |
$("#cataloguing_additem_itemlist tr").hover( |
89 |
$("#cataloguing_additem_itemlist tr").hover( |
90 |
function () {$(this).attr("class","highlight");}, |
90 |
function () {$(this).addClass("highlight");}, |
91 |
function () {$(this).attr("class","" );} |
91 |
function () {$(this).removeClass("highlight");} |
92 |
); |
92 |
); |
93 |
}); |
93 |
}); |
94 |
//]]> |
94 |
//]]> |
Lines 131-137
$(document).ready(function() {
Link Here
|
131 |
[% END %] |
131 |
[% END %] |
132 |
</tr> |
132 |
</tr> |
133 |
[% FOREACH item_loo IN item_loop %] |
133 |
[% FOREACH item_loo IN item_loop %] |
|
|
134 |
[% IF ( item_loo.itemnumber == itemnumber) %] |
135 |
<tr id="row[% item_loo.itemnumber %]" class="active"> |
136 |
[% ELSE %] |
134 |
<tr id="row[% item_loo.itemnumber %]"> |
137 |
<tr id="row[% item_loo.itemnumber %]"> |
|
|
138 |
[% END %] |
135 |
[% IF ( item_loo.nomod ) %] <td colspan="2"> </td>[% ELSE %][% IF ( item_loo.hostitemflag ) %]<td><a href="additem.pl?op=edititem&biblionumber=[% item_loo.hostbiblionumber %]&itemnumber=[% item_loo.itemnumber %]#edititem">Edit in host</a></td> |
139 |
[% IF ( item_loo.nomod ) %] <td colspan="2"> </td>[% ELSE %][% IF ( item_loo.hostitemflag ) %]<td><a href="additem.pl?op=edititem&biblionumber=[% item_loo.hostbiblionumber %]&itemnumber=[% item_loo.itemnumber %]#edititem">Edit in host</a></td> |
136 |
<td><a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delinkitem&biblionumber=[% biblionumber %]&hostitemnumber=[% item_loo.itemnumber %]">Delink</a></td> |
140 |
<td><a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delinkitem&biblionumber=[% biblionumber %]&hostitemnumber=[% item_loo.itemnumber %]">Delink</a></td> |
137 |
[% ELSE %]<td><a href="additem.pl?op=edititem&biblionumber=[% biblionumber %]&itemnumber=[% item_loo.itemnumber %]#edititem">Edit</a></td> |
141 |
[% ELSE %]<td><a href="additem.pl?op=edititem&biblionumber=[% biblionumber %]&itemnumber=[% item_loo.itemnumber %]#edititem">Edit</a></td> |
Lines 197-204
$(document).ready(function() {
Link Here
|
197 |
--> |
201 |
--> |
198 |
|
202 |
|
199 |
<input type="submit" name="add_submit" value="Add item" onclick="return Check(this.form)" /> |
203 |
<input type="submit" name="add_submit" value="Add item" onclick="return Check(this.form)" /> |
200 |
<input type="submit" name="add_duplicate_submit" value="Add & Duplicate" onclick="return Check(this.form)" /> |
204 |
<input type="submit" name="add_duplicate_submit" value="Add & duplicate" onclick="return Check(this.form)" /> |
201 |
<input type="submit" name="add_multiple_copies" value="Add Multiple Copies" onclick="javascript:this.nextSibling.style.visibility='visible';document.f.number_of_copies.focus(); return false;" /><span id="add_multiple_copies_span" style="visibility:hidden"> |
205 |
<input type="submit" name="add_multiple_copies" value="Add multiple copies" onclick="javascript:this.nextSibling.style.visibility='visible';document.f.number_of_copies.focus(); return false;" /><span id="add_multiple_copies_span" style="visibility:hidden"> |
202 |
<label for="number_of_copies">Number of copies to add : </label> |
206 |
<label for="number_of_copies">Number of copies to add : </label> |
203 |
<input type="text" id="number_of_copies" name="number_of_copies" value="" size="2" /> |
207 |
<input type="text" id="number_of_copies" name="number_of_copies" value="" size="2" /> |
204 |
<input type="submit" id="add_multiple_copies_submit" name="add_multiple_copies_submit" value="Add" onclick="javascript:return Check(this.form) && CheckMultipleAdd(this.form.number_of_copies.value);" /> |
208 |
<input type="submit" id="add_multiple_copies_submit" name="add_multiple_copies_submit" value="Add" onclick="javascript:return Check(this.form) && CheckMultipleAdd(this.form.number_of_copies.value);" /> |
Lines 208-214
$(document).ready(function() {
Link Here
|
208 |
<input type="hidden" name="tag" value="[% itemtagfield %]" /> |
212 |
<input type="hidden" name="tag" value="[% itemtagfield %]" /> |
209 |
<input type="hidden" name="subfield" value="[% itemtagsubfield %]" /> |
213 |
<input type="hidden" name="subfield" value="[% itemtagsubfield %]" /> |
210 |
<input type="hidden" name="field_value" value="[% itemnumber %]" /> |
214 |
<input type="hidden" name="field_value" value="[% itemnumber %]" /> |
211 |
<input type="submit" value="Save Changes" onclick="return Check(this.form)" /> |
215 |
<input type="submit" value="Save changes" onclick="return Check(this.form)" /> |
212 |
[% END %]</fieldset> |
216 |
[% END %]</fieldset> |
213 |
|
217 |
|
214 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
218 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
215 |
- |
|
|