Skip to content

Commit b7b44ee

Browse files
committed
rename funciton
1 parent b16fe5b commit b7b44ee

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
555555
this.__reloadFolders();
556556
},
557557

558-
__showMoveToWorkspaceWarningMessage: function() {
558+
__showMoveToDifferentWorkspaceWarningMessage: function() {
559559
const msg = this.tr("The permissions will be taken from the new workspace.");
560560
const win = new osparc.ui.window.Confirmation(msg).set({
561561
caption: this.tr("Move"),
@@ -592,7 +592,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
592592
if (destWorkspaceId === workspaceId) {
593593
this.__doMoveFolder(folderId, destWorkspaceId, destFolderId);
594594
} else {
595-
const confirmationWin = this.__showMoveToWorkspaceWarningMessage();
595+
const confirmationWin = this.__showMoveToDifferentWorkspaceWarningMessage();
596596
confirmationWin.addListener("close", () => {
597597
if (confirmationWin.getConfirmed()) {
598598
this.__doMoveFolder(folderId, destWorkspaceId, destFolderId);
@@ -1277,7 +1277,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
12771277
if (destWorkspaceId === currentWorkspaceId) {
12781278
moveStudies();
12791279
} else {
1280-
const confirmationWin = this.__showMoveToWorkspaceWarningMessage();
1280+
const confirmationWin = this.__showMoveToDifferentWorkspaceWarningMessage();
12811281
confirmationWin.addListener("close", () => {
12821282
if (confirmationWin.getConfirmed()) {
12831283
moveStudies();
@@ -1696,7 +1696,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
16961696
if (destWorkspaceId === currentWorkspaceId) {
16971697
this.__doMoveStudy(studyData, destWorkspaceId, destFolderId);
16981698
} else {
1699-
const confirmationWin = this.__showMoveToWorkspaceWarningMessage();
1699+
const confirmationWin = this.__showMoveToDifferentWorkspaceWarningMessage();
17001700
confirmationWin.addListener("close", () => {
17011701
if (confirmationWin.getConfirmed()) {
17021702
this.__doMoveStudy(studyData, destWorkspaceId, destFolderId);

0 commit comments

Comments
 (0)