From 6a4aa1ff216433864ce048d3e11db03db21ba44e Mon Sep 17 00:00:00 2001 From: Nicholas O'Leary Date: Thu, 21 Nov 2013 11:02:31 +0000 Subject: [PATCH] Disable escape-to-close on edit dialog Closes #84 --- public/red/ui/editor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/red/ui/editor.js b/public/red/ui/editor.js index 4a6f39e98..68516ce8b 100644 --- a/public/red/ui/editor.js +++ b/public/red/ui/editor.js @@ -139,6 +139,7 @@ RED.editor = function() { $( "#dialog" ).dialog({ modal: true, autoOpen: false, + closeOnEscape: false, width: 500, buttons: [ { @@ -393,6 +394,7 @@ RED.editor = function() { modal: true, autoOpen: false, width: 500, + closeOnEscape: false, buttons: [ { text: "Ok",