Show progressbar on loading
Change-Id: Id2f6b35843380726e10570c2c3e501921e882b52
This commit is contained in:
parent
db319170ba
commit
d30ade3ff3
2 changed files with 16 additions and 1 deletions
15
kit/Kit.cpp
15
kit/Kit.cpp
|
@ -1237,6 +1237,21 @@ public:
|
|||
self->setDocumentPassword(type);
|
||||
return;
|
||||
}
|
||||
else if(type == LOK_CALLBACK_STATUS_INDICATOR_SET_VALUE)
|
||||
{
|
||||
for (auto& it : self->_sessions)
|
||||
{
|
||||
std::shared_ptr<ChildSession> session = it.second;
|
||||
if (session)
|
||||
{
|
||||
if (!it.second->isCloseFrame())
|
||||
{
|
||||
session->loKitCallback(type, payload);
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
// Broadcast leftover status indicator callbacks to all clients
|
||||
self->broadcastCallbackToClients(type, payload);
|
||||
|
|
|
@ -710,7 +710,7 @@ L.Socket = L.Class.extend({
|
|||
}
|
||||
else if (textMsg.startsWith('statusindicator:')) {
|
||||
//FIXME: We should get statusindicator when saving too, no?
|
||||
this._map.showBusy(_('Connecting...'), false);
|
||||
this._map.showBusy(_('Connecting...'), true);
|
||||
if (textMsg.startsWith('statusindicator: ready')) {
|
||||
// We're connected: cancel timer and dialog.
|
||||
this.ReconnectCount = 0;
|
||||
|
|
Loading…
Reference in a new issue