Edit D:\rfid\libsystem\page\global\js\com_images.js
function upLoadPhoto(){$("#winPhoto").window("open")}function onOpenWinPhoto(){$("#image").cropper("replace","images/bg.png",true)}function onCloseWinPhoto(){}function repeatNewSelect(){$("#inputImage").click()}function getImageByCode(b,a,d){if(b){$("#"+d).attr("src","images/bg.png");var c=base_path+"lib/images/list.do";var e={};e["limit[0].condition"]="code";e["limit[0].value"]=b;e["limit[1].condition"]="type";e["limit[1].value"]=a;$.post(c,e,function(f){if(f.rows.length>0){$("#"+d).attr("src",f.rows[0].image)}},"json")}}function deleteImageByCode(b,a,d){if(b){var c=base_path+"lib/images/deleteRecords.do";var e={};e["limit[0].condition"]="code";e["limit[0].value"]=b;e["limit[1].condition"]="type";e["limit[1].value"]=a;$.post(c,e,function(f){if(f.status=="0"){openMessageDlg(f.message);$("#"+d).attr("src","images/bg.png")}else{openMessageDlg(f.message)}},"json")}}function saveImageByCode(d,c){if(d){if(vBase64Image==1){var e=$("#photourl").attr("src");if(e.indexOf("data:image/jpeg;base64")>-1){var b=base_path+"lib/images/save.do";var a={};a.code=d;a.type=c;a.image=e;$.post(b,a,function(f){vBase64Image=0;openMessageDlg(f.message);if(f.status=="0"){getImageByCode(d,c,"photourl")}},"json")}}}};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de