Changeset 920 for branches/features/purchaseOrders/grails-app/taglib
- Timestamp:
- May 7, 2011, 12:42:44 PM (14 years ago)
- Location:
- branches/features/purchaseOrders
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/trunk merged eligible /branches/features/grailsUpgrade 889-911
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
branches/features/purchaseOrders/grails-app/taglib/CustomTagLib.groovy
r829 r920 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 -
branches/features/purchaseOrders/grails-app/taglib/JsUtilTagLib.groovy
r568 r920 28 28 */ 29 29 def toggleControl = { attrs -> 30 def m kp = new groovy.xml.MarkupBuilder(out) //this line will be unnecessary in versions of Grails after version 1.230 def mb = new groovy.xml.MarkupBuilder(out) 31 31 32 32 def toggleJs … … 39 39 40 40 if(attrs.useDiv == 'false') { 41 m kp.a( href: toggleJs ) {42 yieldUnescaped(attrs.text)41 mb.a( href: toggleJs ) { 42 mkp.yieldUnescaped(attrs.text) 43 43 img(id: attrs.imageId, src: attrs.closedImgUrl, alt: "Show") 44 } // mkp44 } 45 45 46 46 } 47 47 else { 48 m kp.div() {48 mb.div() { 49 49 a( href: toggleJs ) { 50 yieldUnescaped(attrs.text)50 mkp.yieldUnescaped(attrs.text) 51 51 img(id: attrs.imageId, src: attrs.closedImgUrl, alt: "Show") 52 52 } 53 } // mkp53 } 54 54 } 55 55
Note: See TracChangeset
for help on using the changeset viewer.