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
4380a273
Commit
4380a273
authored
Jun 15, 2015
by
Emmanuel Kasper
Committed by
Dietmar Maurer
Jun 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation header
parent
4ecaceab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
DiffStore.js
www/manager5/data/DiffStore.js
+15
-1
No files found.
www/manager5/data/DiffStore.js
View file @
4380a273
/*
* The DiffStore acts as proxy between an UpdateStore instance and a component.
* Its purpose is to redisplay the component *only* if the data has been changed
* inside the UpdateStore, to avoid the annoying visual flickering of using
* the UpdateStore directly.
*
* Implementation:
* The DiffStore monitors via mon() the 'load' events sent by the target store.
* On each 'load' event, the DiffStore compares its own content with the target
* store (call to cond_add_item()) and then fires a 'refresh' event.
* The 'refresh' event will automatically trigger a view refresh on the component
* who binds to this store.
*/
/* Config properties:
* rstore: A
storag
e to track changes
* rstore: A
target stor
e to track changes
* Only works if rstore has a model and use 'idProperty'
*/
Ext
.
define
(
'
PVE.data.DiffStore
'
,
{
...
...
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