Working, but dont reacting when timePeriod changes at File Cursor
This commit is contained in:
1 parent
7dea1b0618
commit
406771c1eb
5 files changed
+78
-17
No files matched your search
+5
-6
@@ -36,13 +36,11 @@ function newFileCursor() {
|
||||
cursorDate = pCursorDate;
|
||||
timePeriod = pTimePeriod;
|
||||
|
||||
setTimePeriod(pCurrentTimePeriod);
|
||||
|
||||
getFiles(callBackFunction);
|
||||
setTimePeriod(pCurrentTimePeriod, callBackFunction);
|
||||
|
||||
}
|
||||
|
||||
function setTimePeriod(pTimePeriod) {
|
||||
function setTimePeriod(pTimePeriod, callBackFunction) {
|
||||
|
||||
/*
|
||||
|
||||
@@ -86,6 +84,9 @@ function newFileCursor() {
|
||||
|
||||
}
|
||||
|
||||
getFiles(callBackFunction);
|
||||
|
||||
collectGarbage();
|
||||
|
||||
function enterSavingMode() {
|
||||
|
||||
@@ -234,8 +235,6 @@ function newFileCursor() {
|
||||
default:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user