Don't show save warning in editor tab on options apply
This commit is contained in:
parent
4efa6247aa
commit
a006d64a6d
2 changed files with 10 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue