Commit d4feae53 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

added an ability to rollback if needed

parent 18d8607f
...@@ -181,6 +181,9 @@ ...@@ -181,6 +181,9 @@
<a href="/debugfs.html" title="Linux Kernel Dynamic Debug helper interface (debug device drivers)">DebugFS</a><br /> <a href="/debugfs.html" title="Linux Kernel Dynamic Debug helper interface (debug device drivers)">DebugFS</a><br />
</div> </div>
<script> <script>
var jp4_previews_enable = true;
$(function(){ $(function(){
init_awb_toggle(); init_awb_toggle();
init_aexp_toggle(); init_aexp_toggle();
...@@ -190,7 +193,11 @@ $(function(){ ...@@ -190,7 +193,11 @@ $(function(){
function init_jp4_previews(){ function init_jp4_previews(){
$('.port_preview').each(function(){ $('.port_preview').each(function(){
index = parseInt($(this).attr("index")); index = parseInt($(this).attr("index"));
if (jp4_previews_enable) {
$(this).jp4({ip:location.host,port:2323+index,width:300,fast:true,lowres:4}); $(this).jp4({ip:location.host,port:2323+index,width:300,fast:true,lowres:4});
}else{
$(this).html("<img width='300' src='http://"+location.host+":"+(2323+index)+"/img' />");
}
}); });
} }
......
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