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:
parent
409e4c82dc
commit
87ac437437
2 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue