|
|
|
@ -541,7 +541,8 @@ var table = {
|
|
|
|
|
$.each(datas, function(index, dict) {
|
|
|
|
|
if (dict.dictValue == ('' + value)) {
|
|
|
|
|
var listClass = $.common.equals("default", dict.listClass) || $.common.isEmpty(dict.listClass) ? "" : "badge badge-" + dict.listClass;
|
|
|
|
|
actions.push($.common.sprintf("<span class='%s'>%s</span>", listClass, dict.dictLabel));
|
|
|
|
|
var cssClass = $.common.isNotEmpty(dict.cssClass) ? dict.cssClass : listClass;
|
|
|
|
|
actions.push($.common.sprintf("<span class='%s'>%s</span>", cssClass, dict.dictLabel));
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|