Ignore:
Timestamp:
Jan 19, 2010, 4:18:33 PM (11 years ago)
Author:
duh
Message:
  • as of jQuery 1.4.0.1 the submitToRemote behaviour has changed which broke the taglibrary functionality. The taglibrary now checks for the jQuery plugin version in order to fix the issue and stay backward compatible
File:
1 edited

Legend:

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

    r54 r96  
    22"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    33<html xmlns="http://www.w3.org/1999/xhtml" lang="en-EN" xml:lang="en-EN">
    4  <head>
    5   <title><g:layoutTitle default="Grails" /></title>
    6   <link rel="stylesheet" href="${resource(dir:'css',file:session.style+'.css')}" />
    7   <link rel="stylesheet" href="${resource(dir:'css',file:'login_panel.css')}" />
    8   <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
    9   <my:jquery/>
    10   <!-- layouthead //-->
    11   <g:layoutHead />
    12   <!-- /layouthead //-->
    13   <script type="text/javascript" src="${resource(dir:'js', file:'login_panel.js')}"></script>
    14   <script type="text/javascript" src="${resource(dir:'js', file:'topnav.js')}"></script>
    15  </head>
    16  <body>
    17   <g:render template="/common/login_panel" />
    18   <div class="container">
    19    <div id="header">
    20     <g:render template="/common/topnav" />
    21    </div>
    22    <div id="content"><g:layoutBody /></div>
    23    <div id="footer">
    24      Copyright © 2008 - <g:formatDate format="yyyy" date="${new Date()}"/> NMC & NuGO. All rights reserved.
    25      ( style: <%=session.style%>,
    26      <a href="?showSource=true">show page source</a>)</div>
    27   </div>
    28  </body>
     4<head>
     5        <title><g:layoutTitle default="Grails"/></title>
     6        <link rel="stylesheet" href="${resource(dir: 'css', file: session.style + '.css')}"/>
     7        <link rel="stylesheet" href="${resource(dir: 'css', file: 'login_panel.css')}"/>
     8        <link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon.ico')}" type="image/x-icon"/>
     9        <g:javascript library="jquery"/>
     10        <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.7.2.custom.min.js')}" type="text/javascript"></script>
     11        <link rel="stylesheet" href="${createLinkTo(dir: 'css/jquery-ui', file: 'jquery-ui-1.7.2.custom.css')}"/>
     12        <!-- layouthead //-->
     13        <g:layoutHead/>
     14        <!-- /layouthead //-->
     15        <script type="text/javascript" src="${resource(dir: 'js', file: 'login_panel.js')}"></script>
     16        <script type="text/javascript" src="${resource(dir: 'js', file: 'topnav.js')}"></script>
     17</head>
     18<body>
     19<g:render template="/common/login_panel"/>
     20<div class="container">
     21        <div id="header">
     22                <g:render template="/common/topnav"/>
     23        </div>
     24        <div id="content"><g:layoutBody/></div>
     25        <div id="footer">
     26                Copyright © 2008 - <g:formatDate format="yyyy" date="${new Date()}"/> NMC & NuGO. All rights reserved.
     27                ( style: <%=session.style%>,
     28                <a href="?showSource=true">show page source</a>)</div>
     29</div>
     30</body>
    2931</html>
Note: See TracChangeset for help on using the changeset viewer.