# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- Index
+++ Modified In Working Tree
@@ -46,8 +46,17 @@
     wrapper.find('.view-content')[method](new_content.find('.views-row'));
 
     // Attach all JavaScript behaviors to the new content
-    wrapper.removeClass('views-processed');
+//    wrapper.removeClass('views-processed');
+    // Remove any class name ending in '-processed'
+    var classNamesList = wrapper.attr('class').split(' ');
     
+    wrapper.attr('class', '');
+    for(var q in classNamesList){
+      if(classNamesList[q].search(/-processed$/) < 0) {
+        wrapper.addClass(classNamesList[q]);
+      }
+    }
+    
     var settings = response.settings || ajax.settings || Drupal.settings;
     Drupal.attachBehaviors(wrapper, settings);
 
