Commit b1a19dfa54f3c7fc315279b811d5c37fee001cde

Authored by Nathanael Jourdane
1 parent 3a1fa4bd

Sort amda tree logs

Showing 1 changed file with 8 additions and 1 deletions   Show diff stats
js/app/controllers/ExplorerModule.js
... ... @@ -105,6 +105,13 @@ Ext.define('amdaDesktop.ExplorerModule',
105 105 region: 'center'
106 106 },
107 107 {
  108 + xtype: 'label',
  109 + text: 'Log:',
  110 + margin: '10 0 -5 0',
  111 + region: 'south',
  112 + height: 20
  113 + },
  114 + {
108 115 xtype: 'panel',
109 116 id: 'LogPanel',
110 117 region: 'south',
... ... @@ -213,7 +220,7 @@ Ext.define('amdaDesktop.ExplorerModule',
213 220 })
214 221 win = myDesktopApp.getDesktop().getWindow(this.id)
215 222 panel = win.items.get('LogPanel')
216   - panel.add(msg)
  223 + panel.insert(0, msg)
217 224 },
218 225  
219 226 //
... ...