? bad_redirects.patch
Index: facebook_status.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/facebook_status/facebook_status.js,v
retrieving revision 1.2.2.25
diff -u -p -r1.2.2.25 facebook_status.js
--- facebook_status.js	29 Jul 2010 05:15:49 -0000	1.2.2.25
+++ facebook_status.js	10 Aug 2010 17:03:22 -0000
@@ -41,11 +41,11 @@ Drupal.behaviors.facebookStatus = functi
     });
   }
   //Fix bad redirect destinations.
-  context.find('.facebook_status_edit_delete a').each(function() {
+  //context.find('.facebook_status_edit_delete a').each(function() {
     //window.location.href doesn't work for sites not in the webroot with weird server configurations.
-    var redirectTo = window.location.pathname.substring(Drupal.settings.basePath.length) + window.location.search;
-    $(this).attr('href', $(this).attr('href').split('?')[0] +'?destination='+ escape(redirectTo));
-  });
+    //var redirectTo = window.location.pathname.substring(Drupal.settings.basePath.length) + window.location.search;
+    //$(this).attr('href', $(this).attr('href').split('?')[0] +'?destination='+ escape(redirectTo));
+  //});
   context.find('a.facebook_status_conversation_link').each(function() {
     var loc = $(this).attr('href').split('?'), base = loc[0], query = '';
     if (loc[1]) {
@@ -183,4 +183,4 @@ function fbss_print_remaining(fbss_remai
 //Disallow refreshing too often or double-clicking the Refresh link.
 function allowRefresh() {
   allowClickRefresh = !allowClickRefresh;
-}
\ No newline at end of file
+}
