Commit d9fcae91 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch 'stable-3.1'

parents 0a1e9143 eb610b69
...@@ -655,9 +655,9 @@ $(document).bind("keypress", function(event) { ...@@ -655,9 +655,9 @@ $(document).bind("keypress", function(event) {
$("#pageForm .table #Filter").trigger('click'); $("#pageForm .table #Filter").trigger('click');
} }
//Use $ submit with keypress Enter in forms //Use $ submit with keypress Enter in forms
if (event.which == '13' && $(".pnl_formsarea button.positive").length > 0 && event.target.localName != 'textarea' && $(event.target).is(':input')) { if (event.which == '13' && $(".tab-content button.formbutton-success").length > 0 && event.target.localName != 'textarea' && $(event.target).is(':input')) {
event.preventDefault(); event.preventDefault();
$(".pnl_formsarea button.positive:first").not("[disabled='disabled']").trigger('click'); $(".tab-content button.formbutton-success").not("[disabled='disabled']").trigger('click');
} }
}); });
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment