File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments