range-select fixes:
* dont crash when shiftclicking between folders * remember origin when lazyloading more files
This commit is contained in:
parent
cc0c9839eb
commit
0896c5295c
@ -5848,6 +5848,8 @@ var treectl = (function () {
|
||||
}
|
||||
if (sel.length)
|
||||
msel.loadsel(sel);
|
||||
else
|
||||
msel.origin_id(null);
|
||||
|
||||
setTimeout(eval_hash, 1);
|
||||
}
|
||||
@ -6718,7 +6720,9 @@ var msel = (function () {
|
||||
};
|
||||
|
||||
r.loadsel = function (sel) {
|
||||
if (!sel || !r.so || !ebi(r.so))
|
||||
r.so = r.pr = null;
|
||||
|
||||
r.sel = [];
|
||||
r.load();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user