Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions dist/cms.js
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,11 @@ var CMS = (function () {
var _this3 = this;

var promises = []; // Load file content
// prefix url path
for (let x = 0; x < this.files.length; x++) {
const obj = this.files[x];
obj.url = this.type + "/" + obj.url;
}

this.files.forEach(function (file, i) {
file.getContent(function (success, error) {
Expand Down