Code

Support new lists in gray out handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jan 2010 10:26:49 +0000 (10:26 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jan 2010 10:26:49 +0000 (10:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15227 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/smarty/plugins/block.render.php

index ac157f4c5ea8a08a4575e89b1edb4bc4a65eb7c1..83a8fea8e1e04fbcd1e276894a2070503e36f5ab 100644 (file)
@@ -75,10 +75,12 @@ function smarty_block_render($params, $text, &$smarty)
                /* Disable options && greyout divlists */
                $from   = array("/class=['\"]list1nohighlight['\"]/i",
                                "/class=['\"]list0['\"]/i",
-                               "/class=['\"]list1['\"]/i");
+                               "/class=['\"]list1['\"]/i",
+                               "/class=['\"]sortableListItem[^'\"]*['\"]/i");
                $to     = array("class='list1nohighlightdisabled'",
                                "class='list1nohighlightdisabled'",
-                               "class='list1nohighlightdisabled'");
+                               "class='list1nohighlightdisabled'",
+                               "class='sortableListItemDisabled'");
                                
                if(!preg_match("/ disabled /",$text)){
                        $from [] = "/name=/i" ;