merge changes in Ox.Resizebar

This commit is contained in:
rolux 2011-12-31 18:28:26 +05:30
commit 6279a602fd

View file

@ -158,7 +158,7 @@ Ox.Resizebar = function(options, self) {
);
self.options.collapsed = !self.options.collapsed;
that.css({cursor: getCursor()});
self.$tooltip.options({title: getTitle()});
self.$tooltip && self.$tooltip.options({title: getTitle()});
}
}
@ -178,9 +178,9 @@ Ox.Resizebar = function(options, self) {
self.setOption = function(key, value) {
if (key == 'collapsed') {
that.css({cursor: getCursor()});
self.$tooltip.options({title: getTitle()});
}
self.$tooltip && self.$tooltip.options({title: getTitle()});
}
};
return that;