kopia lustrzana https://github.com/c9/core
focus tab opened from c9 cli
rodzic
18b03b412d
commit
388a8ed3a8
|
@ -104,11 +104,10 @@ define(function(require, exports, module) {
|
||||||
fs.exists(path, function(existing) {
|
fs.exists(path, function(existing) {
|
||||||
var tab = tabManager.open({
|
var tab = tabManager.open({
|
||||||
path: path,
|
path: path,
|
||||||
active: i === 0,
|
focus: i === 0,
|
||||||
document:
|
document: existing
|
||||||
existing
|
? undefined
|
||||||
? undefined
|
: { meta : { newfile: true } }
|
||||||
: { meta : { newfile: true } }
|
|
||||||
}, function(){
|
}, function(){
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue