Prevent adding empty twitter creds

Closes #372
This commit is contained in:
Nick O'Leary
2014-09-08 14:41:39 +01:00
parent b3fa866385
commit 3e3b388ca7
2 changed files with 7 additions and 2 deletions

View File

@@ -122,6 +122,7 @@ RED.editor = (function() {
width: 500,
buttons: [
{
id: "node-dialog-ok",
text: "Ok",
click: function() {
if (editing_node) {
@@ -237,6 +238,7 @@ RED.editor = (function() {
}
},
{
id: "node-dialog-cancel",
text: "Cancel",
click: function() {
$( this ).dialog( "close" );
@@ -562,6 +564,7 @@ RED.editor = (function() {
closeOnEscape: false,
buttons: [
{
id: "node-config-dialog-ok",
text: "Ok",
click: function() {
var configProperty = $(this).dialog('option','node-property');
@@ -611,6 +614,7 @@ RED.editor = (function() {
}
},
{
id: "node-config-dialog-cancel",
text: "Cancel",
click: function() {
var configType = $(this).dialog('option','node-type');