FloatingTip in ToolbarItem deleted

This commit is contained in:
Ezequiel Bergamaschi 2014-04-21 00:34:23 -03:00
parent efd8c6e867
commit 52968d435c

View File

@ -26,27 +26,6 @@ mindplot.widget.ToolbarItem = new Class({
this._options = options; this._options = options;
this._enable = false; this._enable = false;
this.enable(); this.enable();
// this._registerTip();
},
_registerTip: function() {
return new mindplot.widget.FloatingTip($("#"+this._buttonId), {
html: false,
position: 'bottom',
arrowOffset : 5,
center: true,
arrowSize: 5,
showDelay: 500,
hideDelay: 0,
className: 'toolbarTip',
motionOnShow:false,
motionOnHide:false,
motion: 0,
distance: 0,
preventHideOnOver:false
});
}, },
getButtonElem : function() { getButtonElem : function() {
@ -55,10 +34,6 @@ mindplot.widget.ToolbarItem = new Class({
return elem; return elem;
}.protect(), }.protect(),
getButtonId : function(){
return this._buttonId;
},
show : function() { show : function() {
this.fireEvent('show'); this.fireEvent('show');
}, },