Get mediatag embed code from the file app

This commit is contained in:
yflory
2017-09-05 15:08:05 +02:00
parent c790442736
commit 729c013af7
6 changed files with 96 additions and 12 deletions

View File

@@ -440,6 +440,7 @@ define([
};
var createFileShare = function (toolbar) {
throw new Error('TODO: Update createFileShare to add "embed" and work in secure iframes');
if (!window.location.hash) {
throw new Error("Unable to display the share button: hash required in the URL");
}