Commit 666baa81 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

баг со скроллом

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56857 954022d7-b5bf-4e40-9824-e11837661b57
parent a32f925b
......@@ -1375,6 +1375,11 @@ ScrollObject.prototype = {
_tmp.that.unbind( "mouseup.main", cancelClick );
_tmp.that.lock = false;
};
if ( this.that.onLockMouse ) {
this.that.onLockMouse( evt );
}
doScroll();
this.that.bind( "mouseup.main", cancelClick );
}
......@@ -1417,6 +1422,11 @@ ScrollObject.prototype = {
_tmp.that.unbind( "mouseup.main", cancelClick );
_tmp.that.lock = false;
};
if ( this.that.onLockMouse ) {
this.that.onLockMouse( evt );
}
doScroll();
this.that.bind( "mouseup.main", cancelClick );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment