pull/282/head
nightwing 2016-03-28 03:47:52 +04:00
rodzic 19e5f7a8aa
commit ee57e15889
2 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -258,6 +258,7 @@ var EditableTree = function(tree) {
var ace = this.ace;
this.ace = null;
ace.renderer.freeze();
setTimeout(function() {
// doing this after timeout to allow rename event focus something else
var wasFocused = ace.isFocused();

Wyświetl plik

@ -113,17 +113,16 @@ define(function(require, exports, module) {
ondisk[name] = 1;
if (orphans[path]) {
if (existing[name])
delete orphans[path];
orphanAppand.push(path);
}
if (existing[name])
updateNodeStat(path, stat, existing[name]);
else
toCreate.push(stat);
if (orphans[path]) {
if (existing[name])
delete orphans[path];
else
orphanAppand.push(path);
}
});
Object.keys(existing).forEach(function(name) {