Skip to content
Snippets Groups Projects
Commit 5b5f3ea5 authored by Jacob Poul Richardt's avatar Jacob Poul Richardt
Browse files

Close url is now loaded from settings.

parent 0cbc95ba
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@ export interface IExperiment
LockQuestion:boolean;
EnablePrevious: boolean;
CurrentSlideIndex: number;
RedirectOnCloseUrl:string;
}
export interface IExperimentClaim
......
......@@ -60,6 +60,7 @@ define(["require", "exports", "knockout", "CockpitPortal", "Managers/Navigation"
_this.CurrentSlideIndex(config.CurrentSlideIndex);
_this.IsExperimentCompleted(false);
_this.StyleSheet(config.Css);
_this.CompletedUrl(config.RedirectOnCloseUrl);
_this.IsReady(true);
});
};
......
......@@ -85,6 +85,7 @@ class Experiment
this.CurrentSlideIndex(config.CurrentSlideIndex);
this.IsExperimentCompleted(false);
this.StyleSheet(config.Css);
this.CompletedUrl(config.RedirectOnCloseUrl);
this.IsReady(true);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment