Implement .finally as .catch().then as suggested.

This commit is contained in:
Odd Stråbø 2019-05-08 07:17:30 +02:00
parent 3167c7dbb9
commit 243f6f898e
2 changed files with 2 additions and 0 deletions

View File

@ -342,6 +342,7 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
hashbang: options.hashbang !== false,
enableHistory: enableHistory()
});
}).catch().then(function() {
loading.hide();
});
}

View File

@ -156,6 +156,7 @@ define(["apphost", "appSettings", "dom", "connectionManager", "loading", "cardSt
view.querySelector("#txtManualName").value = "";
showManualForm(view, false, false);
}
}).catch().then(function() {
loading.hide();
});