url: '/access/acl',
method: 'PUT',
isAdd: true,
- initComponent : function() {
-
+ initComponent: function() {
var me = this;
me.isCreate = true;
});
Ext.apply(me, {
- items: [ ipanel ],
+ items: [ipanel],
});
me.callParent();
// use fixed path
path: undefined,
- initComponent : function() {
+ initComponent: function() {
var me = this;
var store = Ext.create('Ext.data.Store', {
callback: function() {
reload();
},
- failure: function (response, opts) {
+ failure: function(response, opts) {
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
},
});
me.callParent();
},
}, function() {
-
Ext.define('pve-acl', {
extend: 'Ext.data.Model',
fields: [
},
],
});
-
});