Removed global client-side scripts array and refactored page-specific scripts, now that library code is loaded at once

This commit is contained in:
Tobi Schäfer 2015-01-30 23:59:40 +01:00
parent 29175bec5c
commit 6276392100
15 changed files with 26 additions and 32 deletions

View file

@ -36,7 +36,7 @@
</div>
</form>
<script type='text/javascript'>
scripts.push(function() {
$(function() {
$('#addVariable').on('click', function (event) {
event.preventDefault();
var name = prompt('<% gettext "Please enter the name of the new variable:" %>');