diff --git a/dist/base.js b/dist/base.js index 681d77f9aa..ca59c8442b 100644 --- a/dist/base.js +++ b/dist/base.js @@ -420,7 +420,7 @@ BI.Single = BI.inherit(BI.Widget, { clearTimeout(this.timeout); } this._hideTooltip(); - $(this.element).unbind("mouseenter.title" + this.getName()) + this.element.unbind("mouseenter.title" + this.getName()) .unbind("mousemove.title" + this.getName()) .unbind("mouseleave.title" + this.getName()); this._hoverBinded = false; @@ -736,14 +736,14 @@ BI.BasicButton = BI.inherit(BI.Single, { var selected = false; hand.mousedown(function (e) { // if (e.button === 0) { - $(document).bind("mouseup." + self.getName(), function (e) { + BI.Widget._renderEngine.createElement(document).bind("mouseup." + self.getName(), function (e) { // if (e.button === 0) { if (BI.DOM.isExist(self) && !hand.__isMouseInBounds__(e) && mouseDown === true && !selected) { // self.setSelected(!self.isSelected()); self._trigger(); } mouseDown = false; - $(document).unbind("mouseup." + self.getName()); + BI.Widget._renderEngine.createElement(document).unbind("mouseup." + self.getName()); // } }); if (mouseDown === true) { @@ -765,7 +765,7 @@ BI.BasicButton = BI.inherit(BI.Single, { } mouseDown = false; selected = false; - $(document).unbind("mouseup." + self.getName()); + BI.Widget._renderEngine.createElement(document).unbind("mouseup." + self.getName()); // } }); break; @@ -776,11 +776,11 @@ BI.BasicButton = BI.inherit(BI.Single, { var mouseDown = false; var interval; hand.mousedown(function (e) { - $(document).bind("mouseup." + self.getName(), function (e) { + BI.Widget._renderEngine.createElement(document).bind("mouseup." + self.getName(), function (e) { interval && clearInterval(interval); interval = null; mouseDown = false; - $(document).unbind("mouseup." + self.getName()); + BI.Widget._renderEngine.createElement(document).unbind("mouseup." + self.getName()); }); if (mouseDown === true) { return; @@ -1010,7 +1010,7 @@ BI.BasicButton = BI.inherit(BI.Single, { }, empty: function () { - $(document).unbind("mouseup." + this.getName()); + BI.Widget._renderEngine.createElement(document).unbind("mouseup." + this.getName()); BI.BasicButton.superclass.empty.apply(this, arguments); }, @@ -5093,7 +5093,7 @@ BI.Msg = function () { }, toast: function (message, options, context) { options = options || {}; - context = context || $("body"); + context = context || BI.Widget._renderEngine.createElement("body"); var level = options.level || "normal"; var autoClose = BI.isNull(options.autoClose) ? true : options.autoClose; var toast = BI.createWidget({ @@ -5123,7 +5123,7 @@ BI.Msg = function () { }, 5000); }, _show: function (hasCancel, title, message, callback) { - $mask = $("