Commits

Moritz Schlarb  committed bb38494

Fix explicit resource modname

At least with tw2.core-2.0.6, the modname guessing doesn't work
(with TG2.1.5), so we set them explicitly again.

  • Participants
  • Parent commits f8b0826

Comments (0)

Files changed (1)

File tw2/jqplugins/chosen/widgets.py

     'ChosenMultipleSelectField']
 
 
-chosen_img = twc.Link(filename='static/chosen-sprite.png')
+chosen_img = twc.Link(
+    modname=__name__,
+    filename='static/chosen-sprite.png')
 chosen_js = twc.JSLink(
+    modname=__name__,
     filename='static/chosen.jquery.js',
     resources=[twj.jquery_js],
     location='headbottom')
-chosen_css = twc.CSSLink(filename='static/chosen.css')
+chosen_css = twc.CSSLink(
+    modname=__name__,
+    filename='static/chosen.css')
 
 
 class ChosenMixin(twc.Widget):