Show dimmer on body until successful authorization

This commit is contained in:
Jan Schneider 2018-08-27 22:09:23 +02:00
parent d5f138b657
commit 446ef06f3f
1 changed files with 2 additions and 0 deletions

View File

@ -693,6 +693,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}
function init() {
$('body').dimmer('hide');
var form_config = {
on: 'blur',
fields: {
@ -921,6 +922,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
$('#install-addon-file-button').contents().last()[0].textContent = i18next.t('choose_addon_file');
});
$('body').dimmer('show');
sid = get_url_var('sid');
rest("GET", "/get_session", null,
function(data) {