Display "loading..." message when fetching folders list
This commit is contained in:
parent
d35a3084ae
commit
82967b7f63
1 changed files with 3 additions and 1 deletions
|
@ -1941,14 +1941,16 @@ function kolab_files_ui()
|
||||||
params = {}
|
params = {}
|
||||||
|
|
||||||
params.permissions = 1;
|
params.permissions = 1;
|
||||||
|
params.req = this.set_busy(true, 'loading');
|
||||||
|
|
||||||
this.req = this.set_busy(true, 'loading');
|
|
||||||
this.request('folder_list', this.list_params = params, 'folder_list_response');
|
this.request('folder_list', this.list_params = params, 'folder_list_response');
|
||||||
};
|
};
|
||||||
|
|
||||||
// folder list response handler
|
// folder list response handler
|
||||||
this.folder_list_response = function(response)
|
this.folder_list_response = function(response)
|
||||||
{
|
{
|
||||||
|
rcmail.hide_message(this.list_params.req);
|
||||||
|
|
||||||
if (!this.response(response))
|
if (!this.response(response))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue