Made dialogs draggable.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@243 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
8633b20392
commit
ff94de5900
@ -17,6 +17,8 @@ DialogSystem.showDialog = function(elmt, onCancel) {
|
||||
container.css("top", Math.round((overlay.height() - elmt.height()) / 2) + "px");
|
||||
elmt.css("visibility", "visible");
|
||||
|
||||
container.draggable({ handle: '.dialog-header', cursor: 'move' });
|
||||
|
||||
var layer = {
|
||||
overlay: overlay,
|
||||
container: container,
|
||||
|
@ -32,6 +32,7 @@
|
||||
padding: 5px 10px;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.dialog-body {
|
||||
|
Loading…
Reference in New Issue
Block a user