Changeset 311

Show
Ignore:
Timestamp:
24-03-10 14:21:30 (4 years ago)
Author:
duh
Message:

- moved development.js to the main layout (not that it is only included in development instances)

Location:
trunk/grails-app/views
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/layouts/main.gsp

    r299 r311  
    1010        <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8rc3.custom.min.js')}" type="text/javascript"></script> 
    1111        <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8rc3.custom.css')}"/> 
    12         <!-- layouthead //--> 
    1312        <g:layoutHead/> 
    14         <!-- /layouthead //--> 
    1513        <script type="text/javascript" src="${resource(dir: 'js', file: 'login_panel.js')}"></script> 
    1614        <script type="text/javascript" src="${resource(dir: 'js', file: 'topnav.js')}"></script> 
     15        <g:if env="development"><script type="text/javascript" src="${resource(dir: 'js', file: 'development.js')}"></script></g:if> 
    1716</head> 
    1817<body> 
  • trunk/grails-app/views/wizard/index.gsp

    r303 r311  
    2727</g:if><g:else> 
    2828        <link rel="stylesheet" href="${resource(dir: 'css', file: 'wizard.css')}"/> 
    29         <script type="text/javascript" src="${resource(dir: 'js', file: 'development.js')}"></script> 
    3029        <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.min.js')}"></script> 
    3130        <script type="text/javascript" src="${resource(dir: 'js', file: 'swfobject.js')}"></script>