Skip to content

Commit 167c5d9

Browse files
committed
minor
1 parent b7b44ee commit 167c5d9

File tree

1 file changed

+7
-7
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+7
-7
lines changed

services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -565,13 +565,6 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
565565
return win;
566566
},
567567

568-
__doMoveFolder: function(folderId, destWorkspaceId, destFolderId) {
569-
osparc.store.Folders.getInstance().moveFolderToWorkspace(folderId, destWorkspaceId) // first move to workspace
570-
.then(() => osparc.store.Folders.getInstance().moveFolderToFolder(folderId, destFolderId)) // then move to folder
571-
.then(() => this.__reloadFolders())
572-
.catch(err => console.error(err));
573-
},
574-
575568
_moveFolderToRequested: function(folderId) {
576569
const currentWorkspaceId = this.getCurrentWorkspaceId();
577570
const currentFolderId = this.getCurrentFolderId();
@@ -588,6 +581,13 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
588581
moveFolderTo.addListener("cancel", () => win.close());
589582
},
590583

584+
__doMoveFolder: function(folderId, destWorkspaceId, destFolderId) {
585+
osparc.store.Folders.getInstance().moveFolderToWorkspace(folderId, destWorkspaceId) // first move to workspace
586+
.then(() => osparc.store.Folders.getInstance().moveFolderToFolder(folderId, destFolderId)) // then move to folder
587+
.then(() => this.__reloadFolders())
588+
.catch(err => console.error(err));
589+
},
590+
591591
_folderToFolderRequested: function(folderId, workspaceId, destWorkspaceId, destFolderId) {
592592
if (destWorkspaceId === workspaceId) {
593593
this.__doMoveFolder(folderId, destWorkspaceId, destFolderId);

0 commit comments

Comments
 (0)