Made dialogs draggable.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@243 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-03-08 21:50:53 +00:00
parent 8633b20392
commit ff94de5900
2 changed files with 3 additions and 0 deletions

View File

@ -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,

View File

@ -32,6 +32,7 @@
padding: 5px 10px;
font-weight: bold;
color: white;
cursor: move;
}
.dialog-body {