Don't show save warning in editor tab on options apply

This commit is contained in:
Norbert Renner 2019-11-13 11:11:14 +01:00
parent 4efa6247aa
commit a006d64a6d
2 changed files with 10 additions and 10 deletions

View file

@ -33,8 +33,7 @@
drawButton,
deleteRouteButton,
pois,
urlHash,
saveWarningShown = false;
urlHash;
// By default bootstrap-select use glyphicons
$('.selectpicker').selectpicker({
@ -179,10 +178,6 @@
updateRoute({
options: routingOptions.getOptions()
});
if (!saveWarningShown) {
profile.message.showWarning(i18next.t('warning.temporary-profile'));
saveWarningShown = true;
}
} else {
profile.message.showError(err);
if (profileId) {