forked from CGM_Public/pretix_original
Auth mechanism
This commit is contained in:
14
src/pretix/static/pretixcontrol/js/ui/devices.js
Normal file
14
src/pretix/static/pretixcontrol/js/ui/devices.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/*globals $, Morris, gettext, RRule, RRuleSet*/
|
||||
|
||||
$(function () {
|
||||
var update = function () {
|
||||
$.getJSON(location.href + '?ajax=true', {}, function (data) {
|
||||
if (data.initialized) {
|
||||
location.reload();
|
||||
} else {
|
||||
window.setTimeout(update, 500);
|
||||
}
|
||||
});
|
||||
};
|
||||
window.setTimeout(update, 500);
|
||||
});
|
||||
Reference in New Issue
Block a user