Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Grails-jQuery 1.3.2.3
-
Component/s: None
-
Labels:None
-
Environment:grails 1.1, jquery plugin 1.3.2.2
Description
The plugin does not generate the correct path to the file so the application can't access the library.
Config.groovy:
jquery.version="1.3.2"
jquery.sources="jquery"
Library call:
<g:javascript library="jquery"/>
Result in html:
<script type="text/javascript" src="/NewProject/js/js/jquery/jquery-1.3.2.js"></script>
Diff attached with the tiny fix.
Thanks, I've release a new version with the fix.
Cheers