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

@ -102,7 +102,7 @@
</div>
</form>
<script type="text/javascript">
scripts.push(function() {
$(function() {
if ('<% image.name %>') {
$('#name').attr('disabled', true);
$('#maxWidth').attr('disabled', true);