Commit 1179ea5ed82700f76ce974a1e9577d7a4597d63d

Authored by Elena.Budnik
1 parent ab751308

sort by default all local parameters (nodes and leafs) by name

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
js/app/views/ExplorerUI.js
@@ -205,7 +205,7 @@ Ext.define('amdaUI.ExplorerUI', { @@ -205,7 +205,7 @@ Ext.define('amdaUI.ExplorerUI', {
205 { 205 {
206 text: 'Name', 206 text: 'Name',
207 scope : this, 207 scope : this,
208 - tooltip: { text: 'Sort out Local Data by Mission name', align: 'bl-tl' }, 208 + tooltip: { text: 'Sort out AMDA DataBase Data by Mission Name', align: 'bl-tl' },
209 pressed: true, 209 pressed: true,
210 enableToggle : true, 210 enableToggle : true,
211 toggleGroup: 'sorting', 211 toggleGroup: 'sorting',
@@ -224,7 +224,7 @@ Ext.define('amdaUI.ExplorerUI', { @@ -224,7 +224,7 @@ Ext.define('amdaUI.ExplorerUI', {
224 { 224 {
225 text: 'Target', 225 text: 'Target',
226 scope : this, 226 scope : this,
227 - tooltip: { text: 'Sort Out Local Data by Mission main target', align: 'bl-tl' }, 227 + tooltip: { text: 'Sort out AMDA DataBase Data by Mission Main Target', align: 'bl-tl' },
228 enableToggle : true, 228 enableToggle : true,
229 toggleGroup: 'sorting', 229 toggleGroup: 'sorting',
230 handler: function(){ 230 handler: function(){
@@ -262,7 +262,7 @@ Ext.define('amdaUI.ExplorerUI', { @@ -262,7 +262,7 @@ Ext.define('amdaUI.ExplorerUI', {
262 nodeType : treeType 262 nodeType : treeType
263 }, 263 },
264 model: 'amdaModel.AmdaNode', 264 model: 'amdaModel.AmdaNode',
265 - sorters:[{ property:'leaf', direction: 'DES' }, 265 + sorters:[{ direction: 'DES' },
266 { sorterFn: function(o1, o2){ 266 { sorterFn: function(o1, o2){
267 if (o1.get('nodeType') !== 'localParam') 267 if (o1.get('nodeType') !== 'localParam')
268 return; 268 return;