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

Removed debug code for EnablePrevious.

Updated cachebuster.
parent b56e8ed8
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ define(["require", "exports", "knockout", "CockpitPortal", "Managers/Navigation"
throw new Error("No Experiment data retuened");
var config = response.Body.Results[0];
_this.CloseSlidesEnabled(config.LockQuestion);
_this.GoToPreviousSlideEnabled(config.EnablePrevious || true);
_this.GoToPreviousSlideEnabled(config.EnablePrevious);
_this.FooterLabel(config.FooterLabel);
_this.CurrentSlideIndex(config.CurrentSlideIndex);
_this.IsExperimentCompleted(false);
......
......@@ -80,7 +80,7 @@ class Experiment
var config = response.Body.Results[0];
this.CloseSlidesEnabled(config.LockQuestion);
this.GoToPreviousSlideEnabled(config.EnablePrevious || true);
this.GoToPreviousSlideEnabled(config.EnablePrevious);
this.FooterLabel(config.FooterLabel);
this.CurrentSlideIndex(config.CurrentSlideIndex);
this.IsExperimentCompleted(false);
......
......@@ -5,7 +5,7 @@
<meta charset="utf-8" />
<title>Cockpit Experiments</title>
<script type="text/javascript">
var CacheBuster = 20;
var CacheBuster = 21;
</script>
</head>
<body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment