Ignore:
Timestamp:
May 7, 2011, 12:42:44 PM (14 years ago)
Author:
gav
Message:

Svn merge -r874:r919 trunk/ into branches/features/purchaseOrders.
This brings the purchaseOrder branch fully up to date.

Location:
branches/features/purchaseOrders
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/features/purchaseOrders

  • branches/features/purchaseOrders/grails-app/taglib/CustomTagLib.groovy

    r829 r920  
    314314    */
    315315    def helpBalloon = {attrs, body ->
    316         def mkp = new groovy.xml.MarkupBuilder(out) //this line will be unnecessary in versions of Grails after version 1.2
     316        def mb = new groovy.xml.MarkupBuilder(out)
    317317
    318318        def title = attrs["title"]
     
    352352        if(iconSrc) {
    353353            iconId = iconId ?: "customHb$num"
    354             mkp.img( id: iconId, src: iconSrc)
     354            mb.img(id: iconId, src: iconSrc)
    355355        }
    356356
     
    367367});"""
    368368
    369         mkp.script(type: "text/javascript") {
    370             yieldUnescaped(javascript)
     369        mb.script(type: "text/javascript") {
     370            mkp.yieldUnescaped(javascript)
    371371        }
    372372
  • branches/features/purchaseOrders/grails-app/taglib/JsUtilTagLib.groovy

    r568 r920  
    2828    */
    2929    def toggleControl = { attrs ->
    30         def mkp = new groovy.xml.MarkupBuilder(out) //this line will be unnecessary in versions of Grails after version 1.2
     30        def mb = new groovy.xml.MarkupBuilder(out)
    3131
    3232        def toggleJs
     
    3939
    4040        if(attrs.useDiv == 'false') {
    41             mkp.a( href: toggleJs ) {
    42                     yieldUnescaped(attrs.text)
     41            mb.a( href: toggleJs ) {
     42                    mkp.yieldUnescaped(attrs.text)
    4343                    img(id: attrs.imageId, src: attrs.closedImgUrl, alt: "Show")
    44             } // mkp
     44            }
    4545
    4646        }
    4747        else {
    48             mkp.div() {
     48            mb.div() {
    4949                a( href: toggleJs ) {
    50                     yieldUnescaped(attrs.text)
     50                    mkp.yieldUnescaped(attrs.text)
    5151                    img(id: attrs.imageId, src: attrs.closedImgUrl, alt: "Show")
    5252                }
    53             } // mkp
     53            }
    5454        }
    5555
Note: See TracChangeset for help on using the changeset viewer.