Changeset 18542 in project for release/4/awful/trunk/awful.scm


Ignore:
Timestamp:
06/18/10 12:33:17 (11 years ago)
Author:
Mario Domenech Goulart
Message:

awful (trunk): ajax-link' and periodical-ajax' also support `update-targets'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/awful/trunk/awful.scm

    r18539 r18542  
    460460(define (periodical-ajax path interval proc #!key target (action 'html) (method 'POST)
    461461                         (arguments '()) js no-session no-db vhost-root-path live
    462                          content-type prelude)
     462                         content-type prelude update-targets)
    463463  (if (enable-ajax)
    464464      (page-javascript
     
    476476                 content-type: content-type
    477477                 prelude: prelude
     478                 update-targets: update-targets
    478479                 no-page-javascript: #t)
    479480           ", " (->string interval) ");\n"))
     
    483484                   js no-session no-db (event 'click) vhost-root-path live class
    484485                   hreflang type rel rev charset coords shape accesskey tabindex a-target
    485                    content-type prelude)
     486                   content-type prelude update-targets)
    486487  (ajax path id event proc
    487488        target: target
     
    495496        content-type: content-type
    496497        prelude: prelude
     498        update-targets: update-targets
    497499        no-db: no-db)
    498500  (<a> href: "#"
Note: See TracChangeset for help on using the changeset viewer.