focus tab opened from c9 cli

pull/117/merge
nightwing 2015-06-09 16:15:19 +04:00
rodzic 18b03b412d
commit 388a8ed3a8
1 zmienionych plików z 4 dodań i 5 usunięć

Wyświetl plik

@ -104,11 +104,10 @@ define(function(require, exports, module) {
fs.exists(path, function(existing) {
var tab = tabManager.open({
path: path,
active: i === 0,
document:
existing
? undefined
: { meta : { newfile: true } }
focus: i === 0,
document: existing
? undefined
: { meta : { newfile: true } }
}, function(){
next();
});