Skip to content

Commit cb2ab7c

Browse files
committed
rename
1 parent d5bbf2a commit cb2ab7c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

services/static-webserver/client/source/class/osparc/data/model/Study.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,10 +745,10 @@ qx.Class.define("osparc.data.model.Study", {
745745
* @param studyDiffs {Object} Diff Object coming from the JsonDiffPatch lib. Use only the keys, not the changes.
746746
* @param studySource {Object} Study object that was used to check the diffs on the frontend.
747747
*/
748-
patchStudyDelayed: function(studyDiffs, studySource) {
748+
patchStudyDiffs: function(studyDiffs, studySource) {
749749
const promises = [];
750750
if ("workbench" in studyDiffs) {
751-
promises.push(this.getWorkbench().patchWorkbenchDelayed(studyDiffs["workbench"], studySource["workbench"]));
751+
promises.push(this.getWorkbench().patchWorkbenchDiffs(studyDiffs["workbench"], studySource["workbench"]));
752752
delete studyDiffs["workbench"];
753753
}
754754
const changedFields = Object.keys(studyDiffs);

services/static-webserver/client/source/class/osparc/data/model/Workbench.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ qx.Class.define("osparc.data.model.Workbench", {
787787
* @param workbenchDiffs {Object} Diff Object coming from the JsonDiffPatch lib. Use only the keys, not the changes.
788788
* @param workbenchSource {Object} Workbench object that was used to check the diffs on the frontend.
789789
*/
790-
patchWorkbenchDelayed: function(workbenchDiffs, workbenchSource) {
790+
patchWorkbenchDiffs: function(workbenchDiffs, workbenchSource) {
791791
const promises = [];
792792
Object.keys(workbenchDiffs).forEach(nodeId => {
793793
const node = this.getNode(nodeId);

services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ qx.Class.define("osparc.desktop.StudyEditor", {
10081008
this.getStudy().setSavePending(true);
10091009
this.__updatingStudy++;
10101010
const studyDiffs = this.__getStudyDiffs();
1011-
return this.getStudy().patchStudyDelayed(studyDiffs.delta, studyDiffs.sourceStudy)
1011+
return this.getStudy().patchStudyDiffs(studyDiffs.delta, studyDiffs.sourceStudy)
10121012
.then(studyData => this.__setLastSyncedProjectDocument(studyData))
10131013
.catch(error => {
10141014
if ("status" in error && error.status === 409) {

0 commit comments

Comments
 (0)