From 1f09e6afcbddd68d81890dcb7d2318c8b1868fe3 Mon Sep 17 00:00:00 2001 From: caedmon Date: Tue, 29 Jan 2019 11:20:55 -0800 Subject: [PATCH] Fix href for delete video button --- web/libs/js/dash2.elements.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/libs/js/dash2.elements.js b/web/libs/js/dash2.elements.js index 272b58c7..809da1ff 100644 --- a/web/libs/js/dash2.elements.js +++ b/web/libs/js/dash2.elements.js @@ -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');