mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 13:37:40 +02:00
Show dimmer on body until successful authorization
This commit is contained in:
parent
d5f138b657
commit
446ef06f3f
@ -693,6 +693,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
$('body').dimmer('hide');
|
||||||
var form_config = {
|
var form_config = {
|
||||||
on: 'blur',
|
on: 'blur',
|
||||||
fields: {
|
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');
|
$('#install-addon-file-button').contents().last()[0].textContent = i18next.t('choose_addon_file');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('body').dimmer('show');
|
||||||
sid = get_url_var('sid');
|
sid = get_url_var('sid');
|
||||||
rest("GET", "/get_session", null,
|
rest("GET", "/get_session", null,
|
||||||
function(data) {
|
function(data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user