Merge pull request #524 from niphlod/js/speed

Waiting for a sane "prefixing", a much more efficient way to find errors
This commit is contained in:
mdipierro
2014-10-16 16:12:05 -05:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -141,7 +141,7 @@
}, },
/* manage errors in forms */ /* manage errors in forms */
manage_errors: function(target) { manage_errors: function(target) {
$('.error', target).hide().slideDown('slow'); $('div.error', target).hide().slideDown('slow');
}, },
after_ajax: function(xhr) { after_ajax: function(xhr) {
/* called whenever an ajax request completes */ /* called whenever an ajax request completes */
+1 -1
View File
@@ -141,7 +141,7 @@
}, },
/* manage errors in forms */ /* manage errors in forms */
manage_errors: function(target) { manage_errors: function(target) {
$('.error', target).hide().slideDown('slow'); $('div.error', target).hide().slideDown('slow');
}, },
after_ajax: function(xhr) { after_ajax: function(xhr) {
/* called whenever an ajax request completes */ /* called whenever an ajax request completes */
+1 -1
View File
@@ -141,7 +141,7 @@
}, },
/* manage errors in forms */ /* manage errors in forms */
manage_errors: function(target) { manage_errors: function(target) {
$('.error', target).hide().slideDown('slow'); $('div.error', target).hide().slideDown('slow');
}, },
after_ajax: function(xhr) { after_ajax: function(xhr) {
/* called whenever an ajax request completes */ /* called whenever an ajax request completes */