- Timestamp:
- Jan 13, 2016, 11:57:04 AM (8 years ago)
- Branches:
- master
- Children:
- aa35197
- Parents:
- 74e4ca4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
static/js/layout.js
r436dcaa r4b39339 217 217 }); 218 218 }); 219 220 /** 221 * Instrucciones para capturar eventos del teclado y ejecutar las acciones correspondientes 222 * 223 * @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 224 * @copyright GNU/GPLv2 225 * @date 13-01-2016 226 */ 227 $(document).keypress(function(e) { 228 var form = $('.form'); 229 if (form.length && e.which == 13) { 230 form.submit(); 231 } 232 });
Note: See TracChangeset
for help on using the changeset viewer.