? 863632-fix-example-for-auth-users-6.patch
? example/.dialog_example.module.swp
Index: dialog.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/dialog/dialog.js,v
retrieving revision 1.1.2.5
diff -u -p -r1.1.2.5 dialog.js
--- dialog.js	31 Jan 2011 21:03:40 -0000	1.1.2.5
+++ dialog.js	31 Jan 2011 21:19:36 -0000
@@ -1,4 +1,4 @@
-// $Id: dialog.js,v 1.1.2.5 2011/01/31 21:03:40 drewish Exp $
+// $Id: dialog.js,v 1.1.2.4 2010/08/13 19:40:06 rz Exp $
 /**
  * @file
  *
@@ -108,11 +108,11 @@
       return false;
     }
 
-    url = $(this).attr('action');
-    $(this).addClass('ctools-ajaxing');
     var object = $(this);
+    var url = object.attr('action');
+    object.addClass('ctools-ajaxing');
     try {
-      url.replace('/nojs/', '/ajax/');
+      url = url.replace(/\/nojs(\/|$)/g, '/ajax$1')
 
       var ajaxOptions = {
         type: 'POST',
