forked from 0x2620/oxjs
trigger change event in filter
This commit is contained in:
parent
d50e37588b
commit
211884740d
3 changed files with 41 additions and 20 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue