summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/models/ConfigItem.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/static/js/models/ConfigItem.js')
-rw-r--r--module/web/static/js/models/ConfigItem.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/web/static/js/models/ConfigItem.js b/module/web/static/js/models/ConfigItem.js
index f55bb2b9e..636c28851 100644
--- a/module/web/static/js/models/ConfigItem.js
+++ b/module/web/static/js/models/ConfigItem.js
@@ -17,6 +17,10 @@ define(['jquery', 'backbone', 'underscore', 'app', 'utils/apitypes'],
// Model Constructor
initialize: function() {
+ },
+
+ isChanged: function() {
+ return this.get('inputView') && this.get('inputView').getVal() !== this.get('value');
}
});
}); \ No newline at end of file