Fix href for delete video button

merge-requests/63/head
caedmon 2019-01-29 11:20:55 -08:00
parent 75269f7d9f
commit 1f09e6afcb
1 changed files with 2 additions and 1 deletions

View File

@ -152,7 +152,8 @@ $(document).ready(function(e){
console.log('videoLink',videoLink)
console.log(href)
if(!href){
href = $.ccio.init('location',$.users[e.auth])+e.auth+'/videos/'+e.ke+'/'+e.mid+'/'+e.file+'/delete<% if(config.useUTC === true){%>?isUTC=true<%}%>'
var query=$.ccio.useUTC ? '?isUTC=true' : '';
href = $.ccio.init('location',$.users[e.auth])+e.auth+'/videos/'+e.ke+'/'+e.mid+'/'+e.file+'/delete'+query;
}
console.log(href)
$.confirm.e.modal('show');