JI-1059 Fix setting item name in request queue
parent
49c48e29b3
commit
75453e872c
|
@ -15,6 +15,7 @@ H5P.RequestQueue = (function ($, EventDispatcher) {
|
||||||
this.processingQueue = false;
|
this.processingQueue = false;
|
||||||
|
|
||||||
this.showToast = options ? options.showToast : false;
|
this.showToast = options ? options.showToast : false;
|
||||||
|
this.itemName = 'requestQueue';
|
||||||
|
|
||||||
// Initialize listener for when requests are added to queue
|
// Initialize listener for when requests are added to queue
|
||||||
window.addEventListener('offline', this.updateOnlineStatus.bind(this));
|
window.addEventListener('offline', this.updateOnlineStatus.bind(this));
|
||||||
|
|
Loading…
Reference in New Issue