]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/leaveform.php
move profile block to the aside
[quix0rs-gnu-social.git] / lib / leaveform.php
index e63d96ee8080148a183d855dce49c84344d86a39..34671f5f8d246d9acbd8759b9b2acb392597b79a 100644 (file)
@@ -88,7 +88,7 @@ class LeaveForm extends Form
 
     function formClass()
     {
-        return 'form_group_leave';
+        return 'form_group_leave ajax';
     }
 
     /**
@@ -100,7 +100,7 @@ class LeaveForm extends Form
     function action()
     {
         return common_local_url('leavegroup',
-                                array('nickname' => $this->group->nickname));
+                                array('id' => $this->group->id));
     }
 
     /**