Commit 71a95117371e325f4f3b10a65cbf8199e224a044
1 parent
69cb7ecb
Exists in
master
and in
112 other branches
Fix some bugs around TimeTableUI
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
js/app/views/OperationsTT.js
@@ -88,7 +88,7 @@ Ext.define('amdaUI.OperationsTT', { | @@ -88,7 +88,7 @@ Ext.define('amdaUI.OperationsTT', { | ||
88 | callback : function(records, options, success) { | 88 | callback : function(records, options, success) { |
89 | me.parent.updateCount(); | 89 | me.parent.updateCount(); |
90 | }, | 90 | }, |
91 | - me | 91 | + scope : me |
92 | }); | 92 | }); |
93 | }); | 93 | }); |
94 | }, | 94 | }, |
js/app/views/TimeTableUI.js
@@ -113,7 +113,7 @@ Ext.define('amdaUI.TimeTableUI', { | @@ -113,7 +113,7 @@ Ext.define('amdaUI.TimeTableUI', { | ||
113 | else | 113 | else |
114 | { | 114 | { |
115 | //From tmp object (ie Search result) | 115 | //From tmp object (ie Search result) |
116 | - AmdaAction.initTTCacheFromTmpObject(this.object.get('folderId'), this.object.get('objName'), onAfterInit); | 116 | + AmdaAction.initTTCacheFromTmpObject(this.object.get('folderId'), this.object.get('objName'), false, onAfterInit); |
117 | } | 117 | } |
118 | } | 118 | } |
119 | else | 119 | else |
@@ -122,7 +122,7 @@ Ext.define('amdaUI.TimeTableUI', { | @@ -122,7 +122,7 @@ Ext.define('amdaUI.TimeTableUI', { | ||
122 | if (this.object.get('id') == '') | 122 | if (this.object.get('id') == '') |
123 | { | 123 | { |
124 | //Init empty cache | 124 | //Init empty cache |
125 | - AmdaAction.initTTCache(onAfterInit); | 125 | + AmdaAction.initTTCache(false,0,onAfterInit); |
126 | } | 126 | } |
127 | else | 127 | else |
128 | { | 128 | { |