kopia lustrzana https://github.com/c9/core
fix salesforce newfile plugin
rodzic
1cfd183e2d
commit
661166ea43
|
@ -138,8 +138,12 @@ define(function(require, exports, module) {
|
|||
toRemove.push(name);
|
||||
});
|
||||
|
||||
if (!toCreate.length && !toRemove.length && !orphanAppand.length)
|
||||
return;
|
||||
if (!toCreate.length && !toRemove.length && !orphanAppand.length) {
|
||||
// emit readdir event for empty folders, since other plugins may use that
|
||||
// to display create new file buttons
|
||||
if (node.children && node.children.length)
|
||||
return;
|
||||
}
|
||||
|
||||
var wasOpen = startUpdate(node);
|
||||
node.children = null;
|
||||
|
|
Ładowanie…
Reference in New Issue