|
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 251-257
function placeHold () {
Link Here
|
| 251 |
</table><fieldset class="action"> |
253 |
</table><fieldset class="action"> |
| 252 |
[% IF ( itemsloop ) %] |
254 |
[% IF ( itemsloop ) %] |
| 253 |
<input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place holds" /> |
255 |
<input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place holds" /> |
| 254 |
[% 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 %] |
256 |
[% IF ( allowremovingitems ) %]<input type="submit" value="Remove selected records" onclick="return confirm(MSG_REMOVE_FROM_LIST);" />[% END %] |
| 255 |
<input type="submit" value="Merge selected records" onclick="return MergeItems();" /> |
257 |
<input type="submit" value="Merge selected records" onclick="return MergeItems();" /> |
| 256 |
[% END %] |
258 |
[% END %] |
| 257 |
</fieldset> |
259 |
</fieldset> |
|
Lines 416-422
function placeHold () {
Link Here
|
| 416 |
<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" /> |
418 |
<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" /> |
| 417 |
<input type="submit" class="approve" value="Confirm" /> |
419 |
<input type="submit" class="approve" value="Confirm" /> |
| 418 |
[% ELSE %] |
420 |
[% ELSE %] |
| 419 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" /> |
421 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
| 420 |
[% END %] |
422 |
[% END %] |
| 421 |
</form> |
423 |
</form> |
| 422 |
[% ELSE %] |
424 |
[% ELSE %] |
|
Lines 464-470
function placeHold () {
Link Here
|
| 464 |
<input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" /> |
466 |
<input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" /> |
| 465 |
<input type="submit" class="approve" value="Confirm" /> |
467 |
<input type="submit" class="approve" value="Confirm" /> |
| 466 |
[% ELSE %] |
468 |
[% ELSE %] |
| 467 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" /> |
469 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
| 468 |
[% END %] |
470 |
[% END %] |
| 469 |
</form> |
471 |
</form> |
| 470 |
[% ELSE %] |
472 |
[% ELSE %] |