Commit 6bd947b433c42928dfe6ec352a7f68b7789ec4e7
1 parent
ea61c3a8
test
Showing
2 changed files
with
11 additions
and
4 deletions
src/gxb-ide/Dir.js
| ... | ... | @@ -145,9 +145,10 @@ |
| 145 | 145 | console.log('////---------------------------') |
| 146 | 146 | console.log(treeLinkEditor); |
| 147 | 147 | for (var i = 0; i < treeLinkEditor.length; i++) { |
| 148 | + $('.fileName').html(treeLinkEditor[i].filePath) | |
| 148 | 149 | if(treeLinkEditor[i].name == _this.manageName(obj.treeNode.name)){ |
| 149 | 150 | console.log(_this.manageName(obj.treeNode.name)); |
| 150 | - $('.fileName').html(treeLinkEditor[i].filePath) | |
| 151 | + | |
| 151 | 152 | _num = i; |
| 152 | 153 | } |
| 153 | 154 | } | ... | ... |
src/js/player.js
| ... | ... | @@ -27,6 +27,8 @@ $(function(){ |
| 27 | 27 | |
| 28 | 28 | $('.m-title').html(title); |
| 29 | 29 | |
| 30 | + alert(title) | |
| 31 | + | |
| 30 | 32 | $('#resultoutput').append(title) |
| 31 | 33 | |
| 32 | 34 | console.log(_role) |
| ... | ... | @@ -40,8 +42,11 @@ $(function(){ |
| 40 | 42 | CodingEditer.editable(0) |
| 41 | 43 | }) |
| 42 | 44 | |
| 45 | + $('#play').unbind('click').click(function(){ | |
| 46 | + | |
| 47 | + }) | |
| 43 | 48 | |
| 44 | - $('.m-menu').on('click', function(e){ | |
| 49 | + $('.m-menu').unbind('click').click(function(e){ | |
| 45 | 50 | // e.preventDefault(); |
| 46 | 51 | console.log('////==========') |
| 47 | 52 | if (status) { |
| ... | ... | @@ -52,8 +57,9 @@ $(function(){ |
| 52 | 57 | status = true; |
| 53 | 58 | } |
| 54 | 59 | }) |
| 55 | - $('.m-dir-wrap').on('click', function(e){ | |
| 56 | - console.log('////') | |
| 60 | + | |
| 61 | + $('.m-dir-wrap').unbind('click').click(function(e){ | |
| 62 | + // e.preventDefault(); | |
| 57 | 63 | if (!status) { |
| 58 | 64 | $('.m-dir-wrap').hide(); |
| 59 | 65 | status = true; | ... | ... |