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:
parent
0f93929544
commit
d4d87054c4
@ -573,6 +573,7 @@ RED.diff = (function() {
|
|||||||
var nodePropertiesTable = $("<table>").appendTo(nodePropertiesDiv);
|
var nodePropertiesTable = $("<table>").appendTo(nodePropertiesDiv);
|
||||||
var row;
|
var row;
|
||||||
var localCell, remoteCell;
|
var localCell, remoteCell;
|
||||||
|
var element;
|
||||||
var currentValue, localValue, remoteValue;
|
var currentValue, localValue, remoteValue;
|
||||||
var localChanged = false;
|
var localChanged = false;
|
||||||
var remoteChanged = false;
|
var remoteChanged = false;
|
||||||
@ -1073,7 +1074,7 @@ RED.diff = (function() {
|
|||||||
var tab = currentConfig.tabs[tabId];
|
var tab = currentConfig.tabs[tabId];
|
||||||
var el = {
|
var el = {
|
||||||
diff: localDiff,
|
diff: localDiff,
|
||||||
def: {},
|
def: RED.nodes.getType('tab'),
|
||||||
tab:tab
|
tab:tab
|
||||||
};
|
};
|
||||||
if (newConfig.tabs.hasOwnProperty(tabId)) {
|
if (newConfig.tabs.hasOwnProperty(tabId)) {
|
||||||
@ -1092,7 +1093,7 @@ RED.diff = (function() {
|
|||||||
var tab = newConfig.tabs[tabId];
|
var tab = newConfig.tabs[tabId];
|
||||||
var el = {
|
var el = {
|
||||||
diff: localDiff,
|
diff: localDiff,
|
||||||
def: {},
|
def: RED.nodes.getType('tab'),
|
||||||
tab:tab,
|
tab:tab,
|
||||||
newTab: tab
|
newTab: tab
|
||||||
};
|
};
|
||||||
@ -1110,7 +1111,7 @@ RED.diff = (function() {
|
|||||||
var el = {
|
var el = {
|
||||||
diff: localDiff,
|
diff: localDiff,
|
||||||
remoteDiff: remoteDiff,
|
remoteDiff: remoteDiff,
|
||||||
def: {},
|
def: RED.nodes.getType('tab'),
|
||||||
tab:tab,
|
tab:tab,
|
||||||
remoteTab:tab
|
remoteTab:tab
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user