use submit instead of button in many-to-many
authorDrew Crampsie <drewc@tech.coop>
Mon, 9 Jan 2006 11:27:48 +0000 (03:27 -0800)
committerDrew Crampsie <drewc@tech.coop>
Mon, 9 Jan 2006 11:27:48 +0000 (03:27 -0800)
darcs-hash:20060109112748-5417e-11bc15395eccf14676270c2d0c6607e85835d254.gz

src/slot-presentations.lisp

index 8dff900..667e987 100644 (file)
@@ -430,10 +430,11 @@ Calendar.setup({
   (let ((instances (slot-value instance (slot-name slot)))
        new-instance)
     (<:ul
-     (<: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:"))
+     (<:li (<ucw:submit :action (add-to-many-to-many slot instance)
+                       
+                        :value "Add New"))
+     (<:li  (<ucw:submit :action (add-to-many-to-many slot instance new-instance)
+                        :value "Add:")
            (<ucw:select :accessor new-instance
                         (arnesi:dolist* (i (find-all-instances slot instance))
                           (<ucw:option