Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Grails-jQuery 1.4.0.1
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
Description
The JQuery plugin should use 'resource' tag instead of the deprecated 'createLinkTo'
jquery version is: jquery-1.3.2.4
the current trunk version (1.3.2.5) also still has createLinkTo in it
grails-app/taglib/JQueryTagLib.groovy
contains
out << createLinkTo(dir:"js/" + jQuerySources, file:it)
should rather be
out << resource(dir:"js/" + jQuerySources, file:it)
there are also createLinkTo calls in grails-app/taglib/JqResourceTagLib.groovy which could be fixed in the same way