Merge branch 'saas-showbuilder' of github.com:sourcefabric/airtime into saas-showbuilder
This commit is contained in:
commit
afa3b47e42
19 changed files with 422 additions and 104 deletions
|
@ -231,7 +231,7 @@ function showHint(h) {
|
|||
|
||||
function getUsabilityHint() {
|
||||
var pathname = window.location.pathname;
|
||||
$.getJSON("/api/get-usability-hint", {"format": "json", "userPath": pathname}, function(json) {
|
||||
$.getJSON(baseUrl + "api/get-usability-hint", {"format": "json", "userPath": pathname}, function(json) {
|
||||
var $hint_div = $('.usability_hint');
|
||||
var current_hint = $hint_div.html();
|
||||
if (json === "") {
|
||||
|
|
|
@ -14,10 +14,11 @@ $(document).ready(function() {
|
|||
Object.freeze(self.IMPORT_STATUS_CODES);
|
||||
}
|
||||
|
||||
console.log(acceptedMimeTypes.join());
|
||||
Dropzone.options.addMediaDropzone = {
|
||||
url:'/rest/media',
|
||||
//clickable: false,
|
||||
acceptedFiles: acceptedMimeTypes.join(),
|
||||
acceptedFiles: acceptedMimeTypes.join() + ",.flac",
|
||||
init: function () {
|
||||
this.on("sending", function (file, xhr, data) {
|
||||
data.append("csrf_token", $("#csrf").val());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue