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

Ensure tab property changes are listed in diff view

This commit is contained in:
Nick O'Leary 2017-07-26 07:55:53 -07:00
parent 0f93929544
commit d4d87054c4
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -573,6 +573,7 @@ RED.diff = (function() {
var nodePropertiesTable = $("<table>").appendTo(nodePropertiesDiv);
var row;
var localCell, remoteCell;
var element;
var currentValue, localValue, remoteValue;
var localChanged = false;
var remoteChanged = false;
@ -1073,7 +1074,7 @@ RED.diff = (function() {
var tab = currentConfig.tabs[tabId];
var el = {
diff: localDiff,
def: {},
def: RED.nodes.getType('tab'),
tab:tab
};
if (newConfig.tabs.hasOwnProperty(tabId)) {
@ -1092,7 +1093,7 @@ RED.diff = (function() {
var tab = newConfig.tabs[tabId];
var el = {
diff: localDiff,
def: {},
def: RED.nodes.getType('tab'),
tab:tab,
newTab: tab
};
@ -1110,7 +1111,7 @@ RED.diff = (function() {
var el = {
diff: localDiff,
remoteDiff: remoteDiff,
def: {},
def: RED.nodes.getType('tab'),
tab:tab,
remoteTab:tab
};