Index: views_savedsearches.js
===================================================================
--- views_savedsearches.js	(revision 5)
+++ views_savedsearches.js	(working copy)
@@ -42,7 +42,8 @@ ViewsSavedSearches.bindings = function(v
     // The form is validated, it will be submitted. Now let's add the form
     // data of the views filters form, to be able to check if we should
     // display the save form.
-    formData.push({ name: 'views_filters_form', value: $('form#views-filters').formSerialize() });
+    var theForm = $('.view-filters form')[0];
+    formData.push({ name: 'views_filters_form', value: $(theForm).formSerialize() });
 
     return true;
   }
@@ -58,8 +59,8 @@ ViewsSavedSearches.bindings = function(v
 
     // The form is validated, it will be submitted. Now let's add the form
     // data of the views filters form, to save it.
-    formData.push({ name: 'views_filters_form', value: $('form#views-filters').formSerialize() });
-
+    var theForm = $('.view-filters form')[0];
+    formData.push({ name: 'views_filters_form', value: $(theForm).formSerialize() });
     return true;
   }
 
