Commit 481a4b0f by Torkel Ödegaard

Small fix to unsavedChangesSrv, did not handle new template variable correctly

parent fe34c8f2
......@@ -88,8 +88,11 @@ function(angular, _, config) {
_.each(current.templating.list, function(value, index) {
value.current = null;
value.options = null;
if (original.templating.list.length > index) {
original.templating.list[index].current = null;
original.templating.list[index].options = null;
}
});
var currentTimepicker = _.findWhere(current.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