1
0
Fork 0
forked from 0x2620/oxjs

trigger change event in filter

This commit is contained in:
rlx 2011-09-19 13:17:35 +00:00
commit 211884740d
3 changed files with 41 additions and 20 deletions

View file

@ -237,18 +237,21 @@ Ox.Dialog = function(options, self) {
function drag(event) {
Ox.print(document.body.scrollTop, '...')
var left = Ox.limit(
var left, top;
if (!$(event.target).is('.OxButton')) {
left = Ox.limit(
self.drag.left - self.drag.x + event.clientX,
self.minLeft, self.maxLeft
),
);
top = Ox.limit(
self.drag.top - self.drag.y + event.clientY,
self.minTop, self.maxTop
);
setCSS({
left: left,
top: top
});
setCSS({
left: left,
top: top
});
}
}
function dragend() {