forked from extern/egroupware
Correct the cursor after the drag item re-enabled by mouseup event
This commit is contained in:
parent
6db17e8bde
commit
e62899f204
@ -302,6 +302,8 @@ function egwDragActionImplementation()
|
|||||||
},
|
},
|
||||||
mouseup: function (){
|
mouseup: function (){
|
||||||
$j(node).draggable("enable");
|
$j(node).draggable("enable");
|
||||||
|
// Set cursor back to auto. Seems FF can't handle cursor reversion
|
||||||
|
$j('body').css({cursor:'auto'});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -368,8 +370,7 @@ function egwDragActionImplementation()
|
|||||||
egw.lang("Ctrl") : egw.lang("Command ⌘");
|
egw.lang("Ctrl") : egw.lang("Command ⌘");
|
||||||
egw.message(egw.lang('Hold [%1] key to select text eg. to copy it', key), 'info');
|
egw.message(egw.lang('Hold [%1] key to select text eg. to copy it', key), 'info');
|
||||||
}
|
}
|
||||||
// Set cursor back to auto. Seems FF can't handle cursor reversion
|
|
||||||
$j('body').css({cursor:'auto'});
|
|
||||||
// Invalid target
|
// Invalid target
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user