Changeset 18762 in project


Ignore:
Timestamp:
07/09/10 02:19:41 (11 years ago)
Author:
Mario Domenech Goulart
Message:

awful: removed multiple-values' from ajax', ajax-link' and periodical-ajax'. `update-target' is enough.

File:
1 edited

Legend:

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

    r18673 r18762  
    403403(define (ajax path id event proc #!key (action 'html) (method 'POST) (arguments '())
    404404              target success no-session no-db no-page-javascript vhost-root-path
    405               live content-type prelude update-targets multiple-values)
     405              live content-type prelude update-targets)
    406406  (if (enable-ajax)
    407407      (let ((path (if (regexp? path)
     
    420420                                 (and (enable-session) (session-valid? (sid))))
    421421                             (if ((page-access-control) path)
    422                                  (let ((out (if (or multiple-values update-targets)
     422                                 (let ((out (if update-targets
    423423                                                (with-output-to-string
    424424                                                  (lambda ()
     
    480480(define (periodical-ajax path interval proc #!key target (action 'html) (method 'POST)
    481481                         (arguments '()) success no-session no-db vhost-root-path live
    482                          content-type prelude update-targets multiple-values)
     482                         content-type prelude update-targets)
    483483  (if (enable-ajax)
    484484      (page-javascript
     
    497497                 prelude: prelude
    498498                 update-targets: update-targets
    499                  multiple-values: multiple-values
    500499                 no-page-javascript: #t)
    501500           ", " (->string interval) ");\n"))
     
    505504                   success no-session no-db (event 'click) vhost-root-path live class
    506505                   hreflang type rel rev charset coords shape accesskey tabindex a-target
    507                    content-type prelude update-targets multiple-values)
     506                   content-type prelude update-targets)
    508507  (ajax path id event proc
    509508        target: target
     
    518517        prelude: prelude
    519518        update-targets: update-targets
    520         multiple-values: multiple-values
    521519        no-db: no-db)
    522520  (<a> href: "#"
Note: See TracChangeset for help on using the changeset viewer.