From 3d7f0f2aca425167329409ad43467c633ffadaec Mon Sep 17 00:00:00 2001 From: Grant Nestor Date: Wed, 25 Jan 2017 16:24:17 -0800 Subject: [PATCH] Make dialogs draggable --- notebook/static/base/js/dialog.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/notebook/static/base/js/dialog.js b/notebook/static/base/js/dialog.js index cbee4787d..f5127395d 100644 --- a/notebook/static/base/js/dialog.js +++ b/notebook/static/base/js/dialog.js @@ -55,6 +55,9 @@ define(function(require) { dialog_content.append( $("
") .addClass("modal-header") + .mousedown(function() { + $(".modal").draggable(); + }) .append($("