changeset 32:ee520ba7d98b

Use the right element for the ajaxSubmit of the filter form.
author Franck Deroche <franck@defr.org>
date Wed, 03 Jun 2009 14:41:31 +0200
parents 767ebf925654
children 6947c6579d40
files js/dnd-library.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/js/dnd-library.js	Thu Mar 19 15:58:36 2009 -0500
+++ b/js/dnd-library.js	Wed Jun 03 14:41:31 2009 +0200
@@ -129,7 +129,7 @@
     return false;
   });
   $('.view-filters input[type=submit]', $this).click(function() {
-    $(this).ajaxSubmit({
+    $('.view-filters form', $this).ajaxSubmit({
       'url' : Drupal.settings.basePath + settings.url,
       'dataType' : 'json',
       'success' : function(data) {