make user/acl/auth grids stateful

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-11-08 10:50:45 +01:00 committed by Dietmar Maurer
parent 8504ce2ad9
commit 3190457463
6 changed files with 18 additions and 6 deletions

View File

@ -75,6 +75,9 @@ Ext.define('PVE.dc.ACLView', {
onlineHelp: 'chapter_user_management',
stateful: true,
stateId: 'grid-acls',
// use fixed path
path: undefined,
@ -187,7 +190,6 @@ Ext.define('PVE.dc.ACLView', {
Ext.apply(me, {
store: store,
selModel: sm,
stateful: false,
tbar: [
{
text: gettext('Add'),

View File

@ -5,6 +5,9 @@ Ext.define('PVE.dc.AuthView', {
onlineHelp: 'pveum_authentication_realms',
stateful: true,
stateId: 'grid-authrealms',
initComponent : function() {
var me = this;
@ -105,7 +108,6 @@ Ext.define('PVE.dc.AuthView', {
Ext.apply(me, {
store: store,
selModel: sm,
stateful: false,
tbar: tbar,
viewConfig: {
trackOver: false

View File

@ -5,6 +5,9 @@ Ext.define('PVE.dc.GroupView', {
onlineHelp: 'pveum_groups',
stateful: true,
stateId: 'grid-groups',
initComponent : function() {
var me = this;
@ -82,7 +85,6 @@ Ext.define('PVE.dc.GroupView', {
Ext.apply(me, {
store: store,
selModel: sm,
stateful: false,
tbar: tbar,
viewConfig: {
trackOver: false

View File

@ -5,6 +5,9 @@ Ext.define('PVE.dc.PoolView', {
onlineHelp: 'pveum_pools',
stateful: true,
stateId: 'grid-pools',
initComponent : function() {
var me = this;
@ -82,7 +85,6 @@ Ext.define('PVE.dc.PoolView', {
Ext.apply(me, {
store: store,
selModel: sm,
stateful: false,
tbar: tbar,
viewConfig: {
trackOver: false

View File

@ -5,6 +5,9 @@ Ext.define('PVE.dc.RoleView', {
onlineHelp: 'pveum_roles',
stateful: true,
stateId: 'grid-roles',
initComponent : function() {
var me = this;
@ -32,7 +35,6 @@ Ext.define('PVE.dc.RoleView', {
Ext.apply(me, {
store: store,
stateful: false,
viewConfig: {
trackOver: false

View File

@ -58,6 +58,9 @@ Ext.define('PVE.dc.UserView', {
onlineHelp: 'pveum_users',
stateful: true,
stateId: 'grid-users',
initComponent : function() {
var me = this;
@ -177,7 +180,6 @@ Ext.define('PVE.dc.UserView', {
Ext.apply(me, {
store: store,
selModel: sm,
stateful: false,
tbar: tbar,
viewConfig: {
trackOver: false