mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-09-07 15:42:39 +00:00
Improving javascript and Fixing minor curves drawing bug
Everything now is fully "dynamic"
This commit is contained in:
parent
ef6bece82c
commit
8d6c2f4288
2 changed files with 30 additions and 6 deletions
|
@ -17,6 +17,17 @@
|
|||
<script type="text/javascript" src="{{ url_for('static', filename='js/dygraph-combined.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='js/jquery.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='js/jquery-1.4.2.js') }}"></script>
|
||||
<script>
|
||||
function update_values() {
|
||||
$SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
|
||||
$.getJSON($SCRIPT_ROOT+"/_stuff",
|
||||
function(data) {
|
||||
window.glob_tabvar = data;
|
||||
});
|
||||
};
|
||||
update_values();
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue