Skip to content
Snippets Groups Projects
Commit b32aa981 authored by yvesn's avatar yvesn
Browse files

SSDM-5305: fixed saving in existing experiment - loading copy with project and space fetched

parent 5fead8d3
No related branches found
No related tags found
No related merge requests found
......@@ -342,10 +342,16 @@ function AdvancedSearchController(mainController, forceSearch) {
}
});
} else {
callback(experiment);
_this._loadExperimentWithProjectAndSpace(experiment, callback);
}
}
this._loadExperimentWithProjectAndSpace = function(experiment, callback) {
this._mainController.serverFacade.getExperiments([experiment.permId.permId], function(result) {
callback(result[experiment.permId.permId]);
})
}
this._ensureExperiment = function(dummyExperiment, callback) {
var _this = this;
_this._mainController.serverFacade.searchExperiments(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment