Skip to content

Commit

Permalink
Added https support for tours
Browse files Browse the repository at this point in the history
  • Loading branch information
alterm4nn committed Jul 27, 2015
1 parent 109abde commit 281c9ff
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Source/Chronozoom.UI/cz.merged.js
Original file line number Diff line number Diff line change
Expand Up @@ -7292,10 +7292,13 @@ var CZ;
this.isTourPlayRequested = false;
this.isAudioLoaded = false;
this.isAudioEnabled = false;

if (!bookmarks || bookmarks.length == 0) {
throw "Tour has no bookmarks";
}

this.audio = CZ.Service.MakeSecureUri(audio);

var self = this;
this.thumbnailUrl = CZ.Settings.contentItemThumbnailBaseUri + id + '.jpg';

Expand Down
3 changes: 3 additions & 0 deletions Source/Chronozoom.UI/czmin.merged.js
Original file line number Diff line number Diff line change
Expand Up @@ -7292,10 +7292,13 @@ var CZ;
this.isTourPlayRequested = false;
this.isAudioLoaded = false;
this.isAudioEnabled = false;

if (!bookmarks || bookmarks.length == 0) {
throw "Tour has no bookmarks";
}

this.audio = CZ.Service.MakeSecureUri(audio);

var self = this;
this.thumbnailUrl = CZ.Settings.contentItemThumbnailBaseUri + id + '.jpg';

Expand Down
3 changes: 3 additions & 0 deletions Source/Chronozoom.UI/scripts/tours.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,13 @@ var CZ;
this.isTourPlayRequested = false;
this.isAudioLoaded = false;
this.isAudioEnabled = false;

if (!bookmarks || bookmarks.length == 0) {
throw "Tour has no bookmarks";
}

this.audio = CZ.Service.MakeSecureUri(audio);

var self = this;
this.thumbnailUrl = CZ.Settings.contentItemThumbnailBaseUri + id + '.jpg';

Expand Down
2 changes: 1 addition & 1 deletion Source/Chronozoom.UI/scripts/tours.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 281c9ff

Please sign in to comment.