diff --git a/src/case/trigger/trigger.icon.text.js b/src/case/trigger/trigger.icon.text.js index 35005606c8..4721eefa4e 100644 --- a/src/case/trigger/trigger.icon.text.js +++ b/src/case/trigger/trigger.icon.text.js @@ -94,6 +94,7 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, { setTextCls: function(cls) { var o = this.options; this.text.element.removeClass(o.textCls).addClass(cls); + o.textCls = cls; }, setText: function (text) { diff --git a/src/case/trigger/trigger.text.js b/src/case/trigger/trigger.text.js index 80674c8152..8d7ffb251f 100644 --- a/src/case/trigger/trigger.text.js +++ b/src/case/trigger/trigger.text.js @@ -58,6 +58,7 @@ BI.TextTrigger = BI.inherit(BI.Trigger, { setTextCls: function(cls) { var o = this.options; this.text.element.removeClass(o.textCls).addClass(cls); + o.textCls = cls; }, setText: function (text) {