Commit 2f548fdafd1a5c4e07ed9801caf9f40457475670
Fix annotation tree not loading
The annotation tree and the loading of JSON was not working as tree.js
was not being loaded. Fixed that.
| | | | 36 | #map {border: 1px solid #888;} | 36 | #map {border: 1px solid #888;} |
---|
37 | </style> | 37 | </style> |
---|
38 | <script src="http://www.openlayers.org/api/2.11/OpenLayers.js" type="text/javascript"></script> | 38 | <script src="http://www.openlayers.org/api/2.11/OpenLayers.js" type="text/javascript"></script> |
---|
39 | <script type="text/javascript" src="static/myVector.js"></script> | | <script type="text/javascript" src="static/myVector.js"></script> |
---|
40 | <script type="text/javascript" src="static/bootstrap.js"></script> | 39 | <script type="text/javascript" src="static/bootstrap.js"></script> |
---|
| | 40 | <script type="text/javascript" src="static/jit.js"></script> |
---|
| | 41 | <script type="text/javascript" src="static/tree.js"></script> |
---|
| | 42 | <script type="text/javascript" src="static/myVector.js"></script> |
---|
41 | <script type="text/javascript"> | 43 | <script type="text/javascript"> |
---|
42 | function treeClose() { | 44 | function treeClose() { |
---|
43 | $('#annotation-tree').modal('hide'); | 45 | $('#annotation-tree').modal('hide'); |
---|
… | | … | |
---|
190 | window.open("{{ url_for('editor') }}?json="+json); | 190 | window.open("{{ url_for('editor') }}?json="+json); |
---|
191 | } | 191 | } |
---|
192 | </script> | 192 | </script> |
---|
193 | <script type="text/javascript" src="static/jit.js"></script> | | <script type="text/javascript" src="static/jit.js"></script> |
---|
194 | </body> | 193 | </body> |
---|
195 | </html> | 194 | </html> |
---|