Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
0c66a0b2
Commit
0c66a0b2
authored
Jan 08, 2015
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove PVE.data.PendingObjectStore (not required)
parent
36be2857
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
34 deletions
+6
-34
Makefile
www/manager/Makefile
+0
-1
ObjectStore.js
www/manager/data/ObjectStore.js
+2
-1
PendingObjectStore.js
www/manager/data/PendingObjectStore.js
+0
-29
PendingObjectGrid.js
www/manager/grid/PendingObjectGrid.js
+4
-3
No files found.
www/manager/Makefile
View file @
0c66a0b2
...
@@ -19,7 +19,6 @@ JSSRC= \
...
@@ -19,7 +19,6 @@ JSSRC= \
data/UpdateStore.js
\
data/UpdateStore.js
\
data/DiffStore.js
\
data/DiffStore.js
\
data/ObjectStore.js
\
data/ObjectStore.js
\
data/PendingObjectStore.js
\
data/ResourceStore.js
\
data/ResourceStore.js
\
form/VLanField.js
\
form/VLanField.js
\
form/Checkbox.js
\
form/Checkbox.js
\
...
...
www/manager/data/ObjectStore.js
View file @
0c66a0b2
...
@@ -18,7 +18,8 @@ Ext.define('PVE.data.ObjectStore', {
...
@@ -18,7 +18,8 @@ Ext.define('PVE.data.ObjectStore', {
extraParams
:
config
.
extraParams
,
extraParams
:
config
.
extraParams
,
reader
:
{
reader
:
{
type
:
'
jsonobject
'
,
type
:
'
jsonobject
'
,
rows
:
config
.
rows
rows
:
config
.
rows
,
readArray
:
config
.
readArray
}
}
}
}
});
});
...
...
www/manager/data/PendingObjectStore.js
deleted
100644 → 0
View file @
36be2857
Ext
.
define
(
'
PVE.data.PendingObjectStore
'
,
{
extend
:
'
PVE.data.UpdateStore
'
,
constructor
:
function
(
config
)
{
var
me
=
this
;
config
=
config
||
{};
if
(
!
config
.
storeid
)
{
config
.
storeid
=
'
pve-store-
'
+
(
++
Ext
.
idSeed
);
}
Ext
.
applyIf
(
config
,
{
model
:
'
KeyValuePendingDelete
'
,
proxy
:
{
type
:
'
pve
'
,
url
:
config
.
url
,
extraParams
:
config
.
extraParams
,
reader
:
{
type
:
'
jsonobject
'
,
rows
:
config
.
rows
,
readArray
:
true
}
}
});
me
.
callParent
([
config
]);
}
});
www/manager/grid/PendingObjectGrid.js
View file @
0c66a0b2
...
@@ -58,12 +58,13 @@ Ext.define('PVE.grid.PendingObjectGrid', {
...
@@ -58,12 +58,13 @@ Ext.define('PVE.grid.PendingObjectGrid', {
throw
"
no url specified
"
;
throw
"
no url specified
"
;
}
}
me
.
rstore
=
Ext
.
create
(
'
PVE.data.ObjectStore
'
,
{
me
.
rstore
=
Ext
.
create
(
'
PVE.data.PendingObjectStore
'
,
{
model
:
'
KeyValuePendingDelete
'
,
readArray
:
true
,
url
:
me
.
url
,
url
:
me
.
url
,
interval
:
me
.
interval
,
interval
:
me
.
interval
,
extraParams
:
me
.
extraParams
,
extraParams
:
me
.
extraParams
,
rows
:
me
.
rows
,
rows
:
me
.
rows
});
});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment