1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00

Allow sending empty hidden values in eww

* lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
values (bug#22388).

Copyright-paperwork-exempt: Yes
(cherry picked from commit 5898da8210)

Backport:
This commit is contained in:
Vasilij Schneidermann 2016-02-04 15:52:59 +11:00 committed by Lars Ingebrigtsen
parent ee7399792f
commit bf64d65c64

View file

@ -1132,7 +1132,7 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
(nconc eww-form (list
(list 'hidden
:name name
:value (dom-attr dom 'value)))))))
:value (or (dom-attr dom 'value) "")))))))
(t
(eww-form-text dom)))
(unless (= start (point))