diff --git a/src/base/single/label/label.js b/src/base/single/label/label.js index de93b483d..f065ef9c9 100644 --- a/src/base/single/label/label.js +++ b/src/base/single/label/label.js @@ -330,15 +330,6 @@ BI.Label = BI.inherit(BI.Single, { }); }, - _setEnable: function (enable) { - BI.Label.superclass._setEnable.apply(this, arguments); - if (enable === true) { - this.element.removeClass("base-disabled disabled"); - } else if (enable === false) { - this.element.addClass("base-disabled disabled"); - } - }, - doRedMark: function () { this.text.doRedMark.apply(this.text, arguments); }, diff --git a/src/case/calendar/calendar.year.js b/src/case/calendar/calendar.year.js index 9abbae46e..f7e0fb19a 100644 --- a/src/case/calendar/calendar.year.js +++ b/src/case/calendar/calendar.year.js @@ -59,7 +59,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, { return BI.map(item, function (j, td) { return BI.extend(td, { type: "bi.text_item", - cls: "bi-list-item-active", + cls: "bi-list-item-select", textAlign: "center", whiteSpace: "normal", once: false, diff --git a/src/widget/month/popup.month.js b/src/widget/month/popup.month.js index 609cf143f..658642b21 100644 --- a/src/widget/month/popup.month.js +++ b/src/widget/month/popup.month.js @@ -31,7 +31,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, { return BI.map(item, function (j, td) { return { type: "bi.text_item", - cls: "bi-list-item-active", + cls: "bi-list-item-select", textAlign: "center", whiteSpace: "nowrap", once: false, diff --git a/src/widget/yearmonth/card.static.yearmonth.js b/src/widget/yearmonth/card.static.yearmonth.js index b0a51efeb..2f46a05c5 100644 --- a/src/widget/yearmonth/card.static.yearmonth.js +++ b/src/widget/yearmonth/card.static.yearmonth.js @@ -19,7 +19,7 @@ BI.StaticYearMonthCard = BI.inherit(BI.Widget, { return BI.map(item, function (j, td) { return { type: "bi.text_item", - cls: "bi-list-item-active", + cls: "bi-list-item-select", textAlign: "center", whiteSpace: "nowrap", once: false, diff --git a/src/widget/yearquarter/card.static.yearquarter.js b/src/widget/yearquarter/card.static.yearquarter.js index 2fb132821..de236ccdf 100644 --- a/src/widget/yearquarter/card.static.yearquarter.js +++ b/src/widget/yearquarter/card.static.yearquarter.js @@ -23,7 +23,7 @@ BI.StaticYearQuarterCard = BI.inherit(BI.Widget, { return BI.map(items, function (j, item) { return BI.extend(item, { type: "bi.text_item", - cls: "bi-list-item-active", + cls: "bi-list-item-select", textAlign: "center", whiteSpace: "nowrap", once: false,