reuse edit_image.js

remove outdated code and insert code to update form field value for
checkbox
This commit is contained in:
Milan
2019-01-13 21:56:04 +01:00
parent 4e9db1cf4f
commit 5a66cde01c
4 changed files with 34 additions and 141 deletions

View File

@@ -22,7 +22,7 @@ function setActiveImage(elem){
// 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=image_edit.html';
url += '&template=edit_image.html';
url += '&target=' + target;
url += '&project_id='+project_id;
url += '&studio_id='+studio_id;