From 2d3922cbc382a8738f0c2c836f5df10c59908111 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 21 Jan 2010 10:26:49 +0000 Subject: [PATCH] Support new lists in gray out handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15227 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/smarty/plugins/block.render.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" ; -- 2.30.2