diff --git a/source/Ox.UI/js/Bar/Resizebar.js b/source/Ox.UI/js/Bar/Resizebar.js index 61dff43c..73a9acd5 100644 --- a/source/Ox.UI/js/Bar/Resizebar.js +++ b/source/Ox.UI/js/Bar/Resizebar.js @@ -45,7 +45,8 @@ Ox.Resizebar = function(options, self) { anyclick: toggle, dragstart: dragstart, drag: drag, - dragend: dragend + dragend: dragend, + mousedown: mousedown }) .append($('
').addClass('OxSpace')) .append($('
').addClass('OxLine')) @@ -156,6 +157,10 @@ Ox.Resizebar = function(options, self) { return title; } + function mousedown() { + triggerEvents('resizestart'); + } + function reset() { if (self.options.resizable && !self.options.collapsed) { // fixme: silly, pass an option