mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(buffer) cut: when cut root directory, it became transparent
This commit is contained in:
parent
7ed1afa775
commit
6d2b445867
1 changed files with 9 additions and 6 deletions
|
|
@ -88,13 +88,16 @@ var Util, DOM;
|
|||
from = Info.dirPath;
|
||||
|
||||
clear();
|
||||
addCutClass();
|
||||
|
||||
Storage
|
||||
.set(CUT, {
|
||||
from : from,
|
||||
names: names
|
||||
});
|
||||
if (names[0] !== '..') {
|
||||
addCutClass();
|
||||
|
||||
Storage
|
||||
.set(CUT, {
|
||||
from : from,
|
||||
names: names
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function clear() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue