Lines 6-11
Link Here
|
6 |
//<![CDATA[ |
6 |
//<![CDATA[ |
7 |
|
7 |
|
8 |
var MSG_NO_ITEM_SELECTED = _("Nothing is selected."); |
8 |
var MSG_NO_ITEM_SELECTED = _("Nothing is selected."); |
|
|
9 |
var MSG_REMOVE_FROM_LIST = _("Are you sure you want to remove these records from the shelf?"); |
10 |
var MSG_CONFIRM_DELETE_LIST = _("Are you sure you want to remove this list?"); |
9 |
|
11 |
|
10 |
$(document).ready(function(){ |
12 |
$(document).ready(function(){ |
11 |
$("#addbarcode").focus(); |
13 |
$("#addbarcode").focus(); |
Lines 247-253
function placeHold () {
Link Here
|
247 |
</table><fieldset class="action"> |
249 |
</table><fieldset class="action"> |
248 |
[% IF ( itemsloop ) %] |
250 |
[% IF ( itemsloop ) %] |
249 |
<input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place holds" /> |
251 |
<input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place holds" /> |
250 |
[% IF ( allowremovingitems ) %]<input type="submit" value="Remove selected records" onclick="return confirm(_('Are you sure you want to remove these records from the shelf?'));" />[% END %] |
252 |
[% IF ( allowremovingitems ) %]<input type="submit" value="Remove selected records" onclick="return confirm(MSG_REMOVE_FROM_LIST);" />[% END %] |
251 |
<input type="submit" value="Merge selected records" onclick="return MergeItems();" /> |
253 |
<input type="submit" value="Merge selected records" onclick="return MergeItems();" /> |
252 |
[% END %] |
254 |
[% END %] |
253 |
</fieldset> |
255 |
</fieldset> |
Lines 410-416
function placeHold () {
Link Here
|
410 |
<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" /> |
412 |
<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" /> |
411 |
<input type="submit" class="approve" value="Confirm" /> |
413 |
<input type="submit" class="approve" value="Confirm" /> |
412 |
[% ELSE %] |
414 |
[% ELSE %] |
413 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" /> |
415 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
414 |
[% END %] |
416 |
[% END %] |
415 |
</form> |
417 |
</form> |
416 |
[% ELSE %] |
418 |
[% ELSE %] |
Lines 458-464
function placeHold () {
Link Here
|
458 |
<input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" /> |
460 |
<input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" /> |
459 |
<input type="submit" class="approve" value="Confirm" /> |
461 |
<input type="submit" class="approve" value="Confirm" /> |
460 |
[% ELSE %] |
462 |
[% ELSE %] |
461 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" /> |
463 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
462 |
[% END %] |
464 |
[% END %] |
463 |
</form> |
465 |
</form> |
464 |
[% ELSE %] |
466 |
[% ELSE %] |