fix(buffer) try copy and cut ".."

This commit is contained in:
coderaiser 2015-07-22 03:08:45 -04:00
parent eb4f541400
commit 2bab935044

View file

@ -78,11 +78,13 @@
clear();
Storage.remove(CUT)
.set(COPY, {
from : from,
names: names
});
if (names.lenght) {
Storage.remove(CUT)
.set(COPY, {
from : from,
names: names
});
}
}
function cut() {
@ -92,9 +94,9 @@
clear();
if (names[0] !== '..') {
if (names.lenght) {
addCutClass();
Storage
.set(CUT, {
from : from,