jQuery Plugin

Library path is not propertly generated

Details

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

Activity

Hide
Finn Herpich added a comment -

Thanks, I've release a new version with the fix.

Cheers

Show
Finn Herpich added a comment - Thanks, I've release a new version with the fix. Cheers

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: