From: hickert Date: Thu, 21 Jan 2010 10:26:49 +0000 (+0000) Subject: Support new lists in gray out handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2d3922cbc382a8738f0c2c836f5df10c59908111;p=gosa.git Support new lists in gray out handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15227 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/smarty/plugins/block.render.php b/gosa-core/include/smarty/plugins/block.render.php index ac157f4c5..83a8fea8e 100644 --- a/gosa-core/include/smarty/plugins/block.render.php +++ b/gosa-core/include/smarty/plugins/block.render.php @@ -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" ;