* fix bug: runCase and results and popup colorbox.

This commit is contained in:
chencongzhi520@gmail.com
2013-01-20 09:44:32 +00:00
parent e5db5f813d
commit a7545b786c
+1 -1
View File
@@ -290,7 +290,7 @@ class common extends control
if(!$icon) $icon = $method;
if(strpos(',edit,copy,report,export,delete,', ",$icon,") !== false) $module = 'common';
$color = $type == 'button' ? 'green' : ($clickable ? 'green' : 'gray');
$extraClass = strpos(',export,customFields,runCase,results,', ",$method,") !== false ? $method : $extraClass;
$extraClass = strpos(',export,customFields,', ",$method,") !== false ? $method : $extraClass;
$class = $extraClass ? "icon-$color-$module-$icon $extraClass" : "icon-$color-$module-$icon";
/* Create the icon link. */