mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Show loading spinner while preview is generated
This commit is contained in:
parent
57d95dde57
commit
3c84c3684a
@ -311,7 +311,6 @@ class importexport_export_ui {
|
||||
}
|
||||
}
|
||||
}
|
||||
error_log(array2string($filter));
|
||||
|
||||
unset($_content['filter']);
|
||||
$definition->filter = $filter;
|
||||
|
@ -61,16 +61,14 @@ app.classes.importexport = AppJS.extend(
|
||||
export_preview: function(event, widget)
|
||||
{
|
||||
var preview = $j(widget.getRoot().getWidgetById('preview_box').getDOMNode());
|
||||
$j('.content',preview).empty();
|
||||
$j('.content',preview).empty()
|
||||
.append('<div class="loading" style="width:100%;height:100%"></div>');
|
||||
|
||||
preview
|
||||
.addClass('loading')
|
||||
.show(100, jQuery.proxy(function() {
|
||||
widget.clicked = true;
|
||||
widget.getInstanceManager().submit(false, true);
|
||||
widget.clicked = false;
|
||||
$j(widget.getRoot().getWidgetById('preview_box').getDOMNode())
|
||||
.removeClass('loading');
|
||||
},this));
|
||||
return false;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user