Closed (fixed)
Project:
Taxonomy Term Reference Tree Widget
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2012 at 07:54 UTC
Updated:
22 Mar 2012 at 18:58 UTC
If many widgets are on the site, the theme_ function pollutes the end of the page with variable declarations.
| Comment | File | Size | Author |
|---|---|---|---|
| term_reference_tree_use_drupal_t.patch | 1.49 KB | aron novak |
Comments
Comment #1
bartk commentedFailture to use the t() javascript function isn't the issue here. The patch as written breaks theming of '[nothing selected]'. Instead, I've changed the declaration of the text to a static variable and I'm only printing the javascript the first time the theme function is called.
Fixed in 7.x-1.x-dev.