@ -24,8 +24,7 @@ Ext.define('Rambox.view.main.Main', {
var idx = 0 ;
var idx = 0 ;
Ext . each ( tabBar . items . items , function ( t ) {
Ext . each ( tabBar . items . items , function ( t ) {
if ( idx > 0 && t . xtype !== 'tbfill' ) { // Skip first tab because is the configuration tab
if ( idx > 0 && t . xtype !== 'tbfill' ) { // Skip first tab because is the configuration tab
console . log ( t , idx ) ;
t . card . record . set ( 'position' , idx ) ;
t . service . set ( 'position' , idx ) ;
} else if ( t . xtype === 'tbfill' ) {
} else if ( t . xtype === 'tbfill' ) {
idx -- ;
idx -- ;
}
}
@ -41,7 +40,7 @@ Ext.define('Rambox.view.main.Main', {
, deferredRender : false
, deferredRender : false
, items : [
, items : [
{
{
icon : 'resources/IconTray.png'
icon : 'resources/IconTray@2x .png'
, closable : false
, closable : false
, reorderable : false
, reorderable : false
, autoScroll : true
, autoScroll : true
@ -197,10 +196,6 @@ Ext.define('Rambox.view.main.Main', {
xtype : 'label'
xtype : 'label'
, html : '<span class="fa fa-code" style="color:black;"></span> with <span class="fa fa-heart" style="color:red;"></span> from Argentina as an Open Source project.'
, html : '<span class="fa fa-code" style="color:black;"></span> with <span class="fa fa-heart" style="color:red;"></span> from Argentina as an Open Source project.'
}
}
, {
text : 'www.rambox.io'
, href : 'http://www.rambox.io'
}
, '->'
, '->'
]
]
}
}