Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sencha-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
project-open
sencha-core
Commits
30c28187
Commit
30c28187
authored
Dec 29, 2020
by
Project Open
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Reduced delay to 200ms for delayed sync
parent
f49af356
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
SenchaPreferenceStore.js
www/store/user/SenchaPreferenceStore.js
+24
-24
No files found.
www/store/user/SenchaPreferenceStore.js
View file @
30c28187
...
...
@@ -21,7 +21,7 @@ Ext.define('PO.store.user.SenchaPreferenceStore', {
model
:
'PO.model.user.SenchaPreference'
,
// Uses standard User as model
autoLoad
:
false
,
remoteFilter
:
true
,
// Do not filter on the Sencha side
debug
:
fals
e
,
debug
:
tru
e
,
pageSize
:
100000
,
// Load all projects, no matter what size(?)
proxy
:
{
type
:
'rest'
,
// Standard ]po[ REST interface for loading
...
...
@@ -38,14 +38,14 @@ Ext.define('PO.store.user.SenchaPreferenceStore', {
type
:
'json'
// Allow Sencha to write ticket changes
}
},
deferredSync
:
null
,
deferredSync
:
null
,
// Function to sync in 200ms
constructor
:
function
(
config
)
{
var
me
=
this
;
if
(
me
.
debug
)
console
.
log
(
'SenchaPreferenceStore.constructor: Started'
);
me
.
callParent
([
config
]);
// POST the object to the REST API, performing an update
me
.
deferredSync
=
Ext
.
Function
.
createBuffered
(
me
.
sync
,
10
00
,
me
);
me
.
deferredSync
=
Ext
.
Function
.
createBuffered
(
me
.
sync
,
2
00
,
me
);
if
(
me
.
debug
)
console
.
log
(
'SenchaPreferenceStore.constructor: Finished'
);
},
...
...
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