Index: lams_central/web/portrait.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/portrait.jsp,v diff -u -r1.8.2.1 -r1.8.2.2 --- lams_central/web/portrait.jsp 14 Oct 2016 03:43:03 -0000 1.8.2.1 +++ lams_central/web/portrait.jsp 15 Oct 2016 09:32:59 -0000 1.8.2.2 @@ -78,27 +78,9 @@ .ready( function() { //initialize webcam - $("#accordion") - .accordion( - { - autoHeight : false, - create : function(event, ui) { - $("#webcam").html( + $("#webcam").html( webcam.get_html(320, 240, 120, 90)); - }, - change : function(event, ui) { - if (ui.newHeader[0].id == "webcamHeader") { - hideConfirmationButtons(); - $("#webcam").html( - webcam.get_html( - 320, 240, - 120, 90)); - } else { - $("#webcam").html(""); - } - } - }); $('#takeSnapshot').click(function() { webcam.freeze(); @@ -139,111 +121,97 @@