|
|
@ -698,6 +698,7 @@ define([
|
|
|
|
|
|
|
|
|
|
|
|
var forgetPad = exp.forgetPad = function (href) {
|
|
|
|
var forgetPad = exp.forgetPad = function (href) {
|
|
|
|
if (workgroup) { return; }
|
|
|
|
if (workgroup) { return; }
|
|
|
|
|
|
|
|
if (!href) { return; }
|
|
|
|
var rootFiles = getRootFiles().slice();
|
|
|
|
var rootFiles = getRootFiles().slice();
|
|
|
|
if (rootFiles.indexOf(href) !== -1) {
|
|
|
|
if (rootFiles.indexOf(href) !== -1) {
|
|
|
|
removeFileFromRoot(files[ROOT], href);
|
|
|
|
removeFileFromRoot(files[ROOT], href);
|
|
|
@ -712,6 +713,7 @@ define([
|
|
|
|
|
|
|
|
|
|
|
|
var addUnsortedPad = exp.addPad = function (href, path, name) {
|
|
|
|
var addUnsortedPad = exp.addPad = function (href, path, name) {
|
|
|
|
if (workgroup) { return; }
|
|
|
|
if (workgroup) { return; }
|
|
|
|
|
|
|
|
if (!href) { return; }
|
|
|
|
var unsortedFiles = getUnsortedFiles();
|
|
|
|
var unsortedFiles = getUnsortedFiles();
|
|
|
|
var rootFiles = getRootFiles();
|
|
|
|
var rootFiles = getRootFiles();
|
|
|
|
var trashFiles = getTrashFiles();
|
|
|
|
var trashFiles = getTrashFiles();
|
|
|
|