eww input field fixup

(eww-process-text-input): Inhibit read only so that input fields
don't get shortened (bug#19085).
This commit is contained in:
Lars Magne Ingebrigtsen 2014-11-24 18:18:53 +01:00
parent 409e4c82dc
commit 87ac437437
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,8 @@
2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
(eww-process-text-input): Inhibit read only so that input fields
don't get shortened (bug#19085).
2014-11-24 Leo Liu <sdl.web@gmail.com>

View file

@ -973,6 +973,7 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
(defun eww-process-text-input (beg end length)
(let* ((form (get-text-property (min (1+ end) (point-max)) 'eww-form))
(inhibit-read-only t)
(properties (text-properties-at end))
(type (plist-get form :type)))
(when (and form