//fixed #PSCFV-2432 part 3 for IE :p
This commit is contained in:
1 parent
5aeb25b804
commit
13edc7b5d0
1 file changed
+1
-3
@@ -76,9 +76,7 @@
|
|||||||
btn_submit.hide();
|
btn_submit.hide();
|
||||||
//bind enter key press to validate form
|
//bind enter key press to validate form
|
||||||
$('#{$table}_form').keypress(function (e) {
|
$('#{$table}_form').keypress(function (e) {
|
||||||
key = window.event ? window.event.keyCode : e.which;
|
if (e.which == 13 && e.target.localName != 'textarea')
|
||||||
target = window.event ? window.event.target.localName : e.target.localName
|
|
||||||
if (key == 13 && target != 'textarea')
|
|
||||||
$('#desc-{$table}-save').click();
|
$('#desc-{$table}-save').click();
|
||||||
});
|
});
|
||||||
//submit the form
|
//submit the form
|
||||||
|
|||||||
Reference in new issue
Block a user