display loading indicator immediately when necessary

This commit is contained in:
Géry Debongnie
2019-02-17 14:36:40 +01:00
parent d7d0912853
commit efc5e3a1d4
3 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
<t t-widget="Notification" t-props="notif"/>
</t>
</div>
<div class="o_loading" t-if="state.isLoading">Loading</div>
<div class="o_loading d-none" t-ref="loading_indicator">Loading</div>
</div>
<div t-name="web.navbar" class="o_navbar" t-att-class="props.inHome ? 'o_navbar o_in_home' : 'o_navbar'">