|
|
@ -38,9 +38,13 @@ define(
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
window.localStorage.setItem(key, value);
|
|
|
|
window.localStorage.setItem(key, value);
|
|
|
|
vent.trigger(this.Events.ConfigUpdatedEvent, {key: key, value: value});
|
|
|
|
vent.trigger(this.Events.ConfigUpdatedEvent, {key: key, value: value});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
catch (error) {
|
|
|
|
|
|
|
|
console.error('Unable to save config: [{0}] => [{1}]'.format(key, value));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
});
|
|
|
|
});
|
|
|
|