calendar.js: move RMS plots to /media

/media/playout should be used instead of /agenda_files/playout.
/media/ should include uploaded images as well (thumbs,images,icons).
This commit is contained in:
Milan
2021-03-21 23:13:24 +01:00
parent 63804d7db5
commit ca6098f07a
3 changed files with 2 additions and 4 deletions

View File

@@ -511,7 +511,7 @@ function initRmsPlot(){
var content = $(this).html();
var id = createId("rms_img");
var url = '/agenda_files/playout/'+plot;
var url = '/media/playout/'+plot;
var img = '<img src="'+url+'" ></img>';
var deleteHandler = 'onclick="deleteFromPlayout(' + quoteAttr(id) + ", " + quoteAttr(project_id) + ", " + quoteAttr(studio_id) + ", "+ quoteAttr(start) + ')"';