Changeset 918 for trunk/grails-app/taglib/CustomTagLib.groovy
- Timestamp:
- May 2, 2011, 3:51:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/taglib/CustomTagLib.groovy
r829 r918 314 314 */ 315 315 def helpBalloon = {attrs, body -> 316 def m kp = new groovy.xml.MarkupBuilder(out) //this line will be unnecessary in versions of Grails after version 1.2316 def mb = new groovy.xml.MarkupBuilder(out) 317 317 318 318 def title = attrs["title"] … … 352 352 if(iconSrc) { 353 353 iconId = iconId ?: "customHb$num" 354 m kp.img(id: iconId, src: iconSrc)354 mb.img(id: iconId, src: iconSrc) 355 355 } 356 356 … … 367 367 });""" 368 368 369 m kp.script(type: "text/javascript") {370 yieldUnescaped(javascript)369 mb.script(type: "text/javascript") { 370 mkp.yieldUnescaped(javascript) 371 371 } 372 372
Note: See TracChangeset
for help on using the changeset viewer.