Changeset 711


Ignore:
Timestamp:
Nov 20, 2010, 5:15:10 PM (9 years ago)
Author:
gav
Message:

Make prototype javascript library available in main layout.

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

Legend:

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

    r519 r711  
    55        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
    66        <link rel="shortcut icon" href="${resource(dir:'images',file:'gnuMimsIcon.ico')}" type="image/x-icon" />
    7         <g:layoutHead />
     7        <g:javascript library="prototype/prototype" />
     8        <g:javascript library="prototype/effects" />
     9        <g:javascript library="application" />
     10        <g:javascript src="overlayPane.js" />
     11        <jsUtil:resources />
     12        <gnuMims:resources />
     13        <nav:resources override="true"/>
    814        <g:helpBalloons icon="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}"
    915                                        button="${resource(plugin:'help-balloons', dir:'images', file:'balloon-button.png')}"
    1016                                        balloonPrefix="${resource(plugin:'help-balloons', dir:'images')}/balloon-"/>
    11         <nav:resources override="true"/>
    12         <g:javascript library="application" />
    13         <g:javascript library="prototype/effects" />
    14         <g:javascript src="overlayPane.js" />
    15         <jsUtil:resources />
    16         <gnuMims:resources />
     17        <g:layoutHead />
    1718    </head>
    1819
  • trunk/grails-app/views/shared/_pictureHead.gsp

    r188 r711  
    11
    22<link rel="stylesheet" href="${resource(dir:'css',file:'lightbox.css')}" />
    3 <g:javascript library="prototype/prototype" />
    43<g:javascript library="lightbox" />
    54<script type="text/javascript"> document.observe("dom:loaded", Lightbox.onload); </script>
Note: See TracChangeset for help on using the changeset viewer.