Authored by mali

转码

@@ -707,6 +707,10 @@ function addRecordPage(skup, order_code, id) { @@ -707,6 +707,10 @@ function addRecordPage(skup, order_code, id) {
707 modal: true, 707 modal: true,
708 collapsible: true, 708 collapsible: true,
709 cache: false, 709 cache: false,
  710 + onClose : function() {
  711 + timedCount();
  712 + $(this).dialog('destroy');
  713 + },
710 buttons: [{ 714 buttons: [{
711 text: "开始录制", 715 text: "开始录制",
712 id: "recordBtn", 716 id: "recordBtn",
@@ -37,8 +37,8 @@ @@ -37,8 +37,8 @@
37 var totalVar; 37 var totalVar;
38 38
39 function stopCount() { 39 function stopCount() {
40 - var endTime = $('#endTime').val();  
41 - var startTime = $('#startTime').val(); 40 + var endTime = parseInt($('#endTime').val());
  41 + var startTime = parseInt($('#startTime').val());
42 var secondVar = parseInt((endTime - startTime) % 60); 42 var secondVar = parseInt((endTime - startTime) % 60);
43 if (endTime - startTime > 60) { 43 if (endTime - startTime > 60) {
44 var minuteVar = parseInt((endTime - startTime) / 60); 44 var minuteVar = parseInt((endTime - startTime) / 60);