1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Warn against losing custom design changes

This commit is contained in:
Hillel Coren 2016-12-05 21:45:22 +02:00
parent 9351e7fb93
commit 4b6c774b09

View File

@ -141,6 +141,7 @@
modes: ['form', 'code'], modes: ['form', 'code'],
change: function() { change: function() {
saveEditor(); saveEditor();
NINJA.formIsChanged = true;
} }
}; };
window.editor = new JSONEditor(container, options); window.editor = new JSONEditor(container, options);