Add new in many to many should be a button if we can do it in the editor.
authorDrew Crampsie <drewc@tech.coop>
Sat, 29 Oct 2005 13:17:05 +0000 (06:17 -0700)
committerDrew Crampsie <drewc@tech.coop>
Sat, 29 Oct 2005 13:17:05 +0000 (06:17 -0700)
darcs-hash:20051029131705-5417e-cacf2545f084bcd4b9ecbd1fc243478bdec43178.gz

src/slot-presentations.lisp

index 7827c37..b90128e 100644 (file)
@@ -398,8 +398,8 @@ Calendar.setup({
   (let ((instances (slot-value instance (slot-name slot)))
        new-instance)
     (<:ul
-     (<:li (<ucw:a :action (add-to-many-to-many slot instance)
-                  (<:as-html "Add New")))
+     (<:li (<ucw:button :action (add-to-many-to-many slot instance)
+                        (<:as-html "Add New")))
      (<:li  (<ucw:button :action (add-to-many-to-many slot instance new-instance)
                         (<:as-html "Add:"))
            (<ucw:select :accessor new-instance