Hie, This behavior is added by the JS code : $("fieldset.rows input, fieldset.rows select").addClass("noEnterSubmit");
A better solution is to remove this class : $("tag_952_subfield_p_971027").removeClass("noEnterSubmit"); Le 22/07/2014 23:20, Chad Roseburg a écrit :
Our cataloging department liked the short-lived behavior in 3.14 where scanning barcodes would submit forms [ no one else did ]. I decided to try and reintroduce that for the cataloging module only -- testing using greasemonkey. Here's what I've got so far [ doesn't work ]: $('tag_952_subfield_p_971027').keypress(function(e) { if ( e.which == 13 ) { $( "input[value='Save changes']").trigger('click'); } }); Any ideas? Thanks! Chad
-- Fridolin SOMERS Biblibre - Pôles support et système fridolin.som...@biblibre.com _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha