View | Details | Raw Unified | Return to bug 9268
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/additem.js (-1 / +3 lines)
Lines 242-245 function check_additem(unique_item_fields) { Link Here
242
    }
242
    }
243
    return success;
243
    return success;
244
}
244
}
245
245
// Do not submit form in chrome if barcode is scanned - requires Add the following attribute into each input type="text" tag(s) on add item pages : onkeypress="return noenter()"
246
function noenter() {
247
  return !(window.event && window.event.keyCode == 13); }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-3 / +2 lines)
Lines 281-290 $(document).ready(function() Link Here
281
        <li>
281
        <li>
282
            [% IF ( biblionumber ) %]
282
            [% IF ( biblionumber ) %]
283
            <span class="label">ISBN: </span>
283
            <span class="label">ISBN: </span>
284
                <input type="hidden" size="50" name="isbn" id="ISBN" value="[% isbn %]" />[% isbn %]
284
                <input type="hidden" size="50" name="isbn" id="ISBN" value="[% isbn %]"  />[% isbn %]
285
            [% ELSE %]
285
            [% ELSE %]
286
            <label for="ISBN">ISBN: </label>
286
            <label for="ISBN">ISBN: </label>
287
                <input type="text" size="50" name="isbn" id="ISBN" value="[% isbn %]" />
287
                <input type="text" size="50" name="isbn" id="ISBN" value="[% isbn %]" onkeypress="return noenter()"/>
288
            [% END %]
288
            [% END %]
289
        </li>
289
        </li>
290
        [% IF (UNIMARC) %]
290
        [% IF (UNIMARC) %]
291
- 

Return to bug 9268