jQuery Plugin

JQuery plugin should use 'resource' instead of 'createLinkTo'

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
10m
Original Estimate - 10 minutes
Remaining:
10m
Remaining Estimate - 10 minutes
Logged:
Not Specified
Time Spent - Not Specified