(eww-tag-input): Support <input type=image>.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 17 Jun 2013 22:46:18 +0000 (00:46 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 17 Jun 2013 22:46:18 +0000 (00:46 +0200)
lisp/ChangeLog
lisp/eww.el

index d1ec5f2..e8b070c 100644 (file)
@@ -4,6 +4,7 @@
        (eww-convert-widgets): Don't bug out if the first widget starts at the
        beginning of the buffer.
        (eww-convert-widgets): Fix last patch.
+       (eww-tag-input): Support <input type=image>.
 
        * shr.el (shr-insert-table): Respect border-collapse: collapse.
        (shr-tag-base): Protect against base specs that are degenerate.
index fc6f591..36baf35 100644 (file)
         (value (cdr (assq :value cont)))
         (widget
          (cond
-          ((equal type "submit")
+          ((or (equal type "submit")
+               (equal type "image"))
            (list 'push-button
                  :notify 'eww-submit
                  :name (cdr (assq :name cont))