Signed-off-by: Robin Appelman <robin@icewind.nl>
},
handlePreview: function (model, $thumbnailDiv, $thumbnailContainer, fallback) {
- console.log(model);
var previewWidth = $thumbnailContainer.parent().width() + 50; // 50px for negative margins
var previewHeight = previewWidth / (16 / 9);
},
getFileContent: function (path) {
- console.log(path);
- var url = OC.linkToRemoteBase('files' + path);
- console.log(url);
- return $.get(url);
+ return $.get(OC.linkToRemoteBase('files' + path));
}
};