1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Disable escape-to-close on edit dialog

Closes #84
This commit is contained in:
Nicholas O'Leary 2013-11-21 11:02:31 +00:00
parent a0aed93c69
commit 6a4aa1ff21

View File

@ -139,6 +139,7 @@ RED.editor = function() {
$( "#dialog" ).dialog({ $( "#dialog" ).dialog({
modal: true, modal: true,
autoOpen: false, autoOpen: false,
closeOnEscape: false,
width: 500, width: 500,
buttons: [ buttons: [
{ {
@ -393,6 +394,7 @@ RED.editor = function() {
modal: true, modal: true,
autoOpen: false, autoOpen: false,
width: 500, width: 500,
closeOnEscape: false,
buttons: [ buttons: [
{ {
text: "Ok", text: "Ok",