summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a7c1afe)
raw | patch | inline | side by side (parent: a7c1afe)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 6 Apr 2010 12:29:25 +0000 (12:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 6 Apr 2010 12:29:25 +0000 (12:29 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17481 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_sortableListing.inc | patch | blob | history |
diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc
index b88c0eae7b3ed330d0b64584d92f2c23026af8e7..88a93bab81ef14e0be177a04dc0b0af345b21ff1 100644 (file)
// Generate instance wide unique ID
$tmp= gettimeofday();
- $this->id= 'l'.md5($tmp['sec']);
+ $this->id= 'l'.md5(microtime().$tmp['sec']);
// Set reorderable flag
$this->reorderable= $reorderable;
$result.= "</tr>\n";
$result.= " </tbody>\n</table>\n</div>\n";
- $result.= " <input type='hidden' name='PID' value='".$this->id."' id='PID'>\n";
+# $result.= " <input type='hidden' name='PID' value='".$this->id."' id='PID'>\n";
$result.= " <input type='hidden' name='position_".$this->id."' id='position_".$this->id."'>\n";
$result.= " <input type='hidden' name='reorder_".$this->id."' id='reorder_".$this->id."'>\n";
{
// Do not do anything if this is not our PID, or there's even no PID available...
if(!isset($_REQUEST['PID']) || $_REQUEST['PID'] != $this->id) {
- return;
+# return;
}
// Filter GET with "act" attributes
{
// Do not do anything if this is not our PID, or there's even no PID available...
if(!isset($_REQUEST['PID']) || $_REQUEST['PID'] != $this->id) {
- return;
+# return;
}
// Do not do anything if we're not posted - or have no permission