Removed global client-side scripts array and refactored page-specific scripts, now that library code is loaded at once
This commit is contained in:
parent
29175bec5c
commit
6276392100
15 changed files with 26 additions and 32 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue