Monotone-Parent: 3c8a49fe7ef93ec55aaeef9dd064be1de6052cfe

Monotone-Revision: 04d242cd3ae3982c5087b5bef22fc2d70632130f

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-03-22T15:48:03
This commit is contained in:
Francis Lachapelle 2012-03-22 15:48:03 +00:00
parent 7a655ff8ce
commit e5193ddbac
2 changed files with 8 additions and 7 deletions

View file

@ -1493,7 +1493,7 @@ function configureDraggables() {
onEnd: stopDragging,
onDrag: whileDragging,
scroll: window,
delay: 250 });
delay: 250 });
}
}
@ -1521,6 +1521,8 @@ function currentFolderIsRemote () {
}
function startDragging (itm, e) {
if (!Event.isLeftClick(e))
return false;
var target = Event.element(e);
if (target.up().up().tagName != "TBODY")
return false;
@ -1553,7 +1555,7 @@ function whileDragging (itm, e) {
}
function stopDragging () {
$("contactsListContent").setStyle({ overflow: "auto" });
$("contactsListContent").setStyle({ overflow: "auto", overflowX: "hidden" });
var handle = $("dragDropVisual");
handle.hide();
if (handle.hasClassName ("copy"))

View file

@ -2741,8 +2741,6 @@ function onMenuArchiveFolder(event) {
var folderID = document.menuTarget.getAttribute("dataname");
var url = URLForFolderID(folderID) + "/exportFolder";
window.location.href = url;
event.stop();
}
function onMenuAccountDelegation(event) {
@ -2957,9 +2955,11 @@ function configureDroppables() {
}
function startDragging (itm, e) {
if (!Event.isLeftClick(e))
return false;
var target = Event.element(e);
if (target.up('TBODY') == undefined)
return;
return false;
$("mailboxList").setStyle({ overflow: "visible" });
@ -2999,8 +2999,7 @@ function whileDragging (itm, e) {
}
function stopDragging() {
console.info("stop dragging");
$("mailboxList").setStyle({ overflow: "auto" });
$("mailboxList").setStyle({ overflow: "auto", overflowX: "hidden" });
var handle = $("dragDropVisual");
handle.hide();
if (handle.hasClassName("copy"))