Commit e9497611 by Torkel Ödegaard

Made unsaved changes service ignore template variable options and selection changes

parent 4311a20c
......@@ -83,6 +83,14 @@ function(angular, _, config) {
current.time = original.time = {};
current.refresh = original.refresh;
// ignore template variable values
_.each(current.templating.list, function(value, index) {
value.current = null;
value.options = null;
original.templating.list[index].current = null;
original.templating.list[index].options = null;
});
var currentTimepicker = _.findWhere(current.nav, { type: 'timepicker' });
var originalTimepicker = _.findWhere(original.nav, { type: 'timepicker' });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment