From: Lars Magne Ingebrigtsen Date: Mon, 24 Nov 2014 17:18:53 +0000 (+0100) Subject: eww input field fixup X-Git-Tag: emacs-25.0.90~2635^2~344 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=87ac4374374cbab07a18ef794a026a1fc2436d09;p=emacs.git eww input field fixup (eww-process-text-input): Inhibit read only so that input fields don't get shortened (bug#19085). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 58f2a58a1c6..bb25996ffca 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,8 @@ 2014-11-24 Lars Magne Ingebrigtsen * 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 diff --git a/lisp/net/eww.el b/lisp/net/eww.el index a607e444fa3..97939cb611a 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -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