the alias is to use it in a declarative syntax,
the autostart parameter automatically starts the update
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
*/
Ext.define('Proxmox.data.UpdateStore', {
extend: 'Ext.data.Store',
*/
Ext.define('Proxmox.data.UpdateStore', {
extend: 'Ext.data.Store',
constructor: function(config) {
var me = this;
constructor: function(config) {
var me = this;
load_task.cancel();
Proxmox.data.UpdateQueue.unqueue(me);
});
load_task.cancel();
Proxmox.data.UpdateQueue.unqueue(me);
});
+
+ if (me.autoStart) {
+ me.startUpdate();
+ }