filenames

use kebab-case for file names
remove camelCase and snake_case
This commit is contained in:
Milan
2019-10-17 20:22:10 +02:00
parent c93b394307
commit 9792336ac8
87 changed files with 74 additions and 78 deletions

View File

@@ -21,7 +21,7 @@ function updateActiveImage(){
// open dialog to show or edit image properties
function updateImageEditor(elem, filename, target, project_id, studio_id, series_id, event_id, pid){
var url='image.cgi?show='+filename;
url += '&template=edit_image.html';
url += '&template=edit-image.html';
url += '&target=' + target;
url += '&project_id='+project_id;
url += '&studio_id='+studio_id;
@@ -130,7 +130,7 @@ function deleteImage(id, filename) {
function hideImageDetails(id, filename){
try{$('#img_editor').dialog('close');}catch(e){}
var url='image.cgi?show='+filename+'&template=image_single.html&project_id='+project_id+'&studio_id='+studio_id;
var url='image.cgi?show='+filename+'&template=image-single.html&project_id='+project_id+'&studio_id='+studio_id;
console.log("hideImageDetails, load url="+url)
$("#"+id).load(url);
return false;