Commit 626d4ea8 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

init and refresh

parent 0baa7e8b
...@@ -29,10 +29,26 @@ $(function(){ ...@@ -29,10 +29,26 @@ $(function(){
$("#init").on('click',function(){ $("#init").on('click',function(){
console.log("init photo finish"); console.log("init photo finish");
$.ajax({
url: "photo-finish.php?cmd=init",
success: function(){
console.log("success");
}
});
}); });
$("#refresh").on('click',function(){ $("#refresh").on('click',function(){
console.log("refresh images"); console.log("refresh images");
t1 = $("#display-panel").jp4({
ip:"127.0.0.1",
port:2323,
width:600,
fast:true,
lowres:0,
webworker_path:"/js"
});
}); });
var t1 = $("#display-panel").jp4({ var t1 = $("#display-panel").jp4({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment