Code

Updated sortable list
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Mar 2010 11:47:21 +0000 (11:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Mar 2010 11:47:21 +0000 (11:47 +0000)
-Reset the actions after page reload, else we loop in edit mode.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16359 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_sortableListing.inc

index e526029db27336467462bd6397cc27939f848ab0..cbb2334586a8d0cb5e27c269ff11c1dbef1b361d 100644 (file)
@@ -369,6 +369,7 @@ class sortableListing {
     }
 
     // Delete requested?
+    $this->action = "";
     if (strpos($this->acl, 'd') !== false){
       foreach ($_POST as $key => $value) {
         if (preg_match('/^del_'.$this->id.'_([0-9]+)_x.*$/', $key, $matches)) {