Commit 0144613b41d7b4d5534fe235543e6ac420d10c81
1 parent
1ddaa78a
fixbug
Showing
3 changed files
with
8 additions
and
2 deletions
src/js/gb.js
| @@ -1231,7 +1231,7 @@ $(function() { | @@ -1231,7 +1231,7 @@ $(function() { | ||
| 1231 | var programmingFileList = ZTREE.getTreeData(); | 1231 | var programmingFileList = ZTREE.getTreeData(); |
| 1232 | 1232 | ||
| 1233 | 1233 | ||
| 1234 | - var keepTimer = $('.recording-time').val() | 1234 | + var keepTimer = round($('#audio')[0].duration); |
| 1235 | var postData = { | 1235 | var postData = { |
| 1236 | "mainPath": mainPath, | 1236 | "mainPath": mainPath, |
| 1237 | "mainArgus": "lixxx", | 1237 | "mainArgus": "lixxx", |
| @@ -1271,6 +1271,7 @@ $(function() { | @@ -1271,6 +1271,7 @@ $(function() { | ||
| 1271 | } | 1271 | } |
| 1272 | console.log('============'); | 1272 | console.log('============'); |
| 1273 | console.log(postData); | 1273 | console.log(postData); |
| 1274 | + console.log(keepTimer); | ||
| 1274 | $.ajax({ | 1275 | $.ajax({ |
| 1275 | type: "post", | 1276 | type: "post", |
| 1276 | url: roleUrl, | 1277 | url: roleUrl, |
| @@ -2018,7 +2019,7 @@ $(function() { | @@ -2018,7 +2019,7 @@ $(function() { | ||
| 2018 | $(document).on('click', '#full-screen', function(event) { | 2019 | $(document).on('click', '#full-screen', function(event) { |
| 2019 | event.preventDefault(); | 2020 | event.preventDefault(); |
| 2020 | var fullData = $(this).data('full'); | 2021 | var fullData = $(this).data('full'); |
| 2021 | - launchFullScreen(document.getElementById("app")); | 2022 | + launchFullScreen(document.body); |
| 2022 | $('#back-screen').show(); | 2023 | $('#back-screen').show(); |
| 2023 | $('#full-screen').hide(); | 2024 | $('#full-screen').hide(); |
| 2024 | }); | 2025 | }); |
src/js/recorder/Myna.js
src/js/util/util.js
| @@ -40,3 +40,7 @@ getCDNFile = function (cdnUrl) { | @@ -40,3 +40,7 @@ getCDNFile = function (cdnUrl) { | ||
| 40 | } | 40 | } |
| 41 | $w.utils = $w.utils || utils; | 41 | $w.utils = $w.utils || utils; |
| 42 | })(window, jQuery) | 42 | })(window, jQuery) |
| 43 | + | ||
| 44 | +window.console.log = function(){} | ||
| 45 | +window.console.info = function(){} | ||
| 46 | + |