]> git.eshelyaron.com Git - emacs.git/commitdiff
eww input field fixup
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 24 Nov 2014 17:18:53 +0000 (18:18 +0100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 24 Nov 2014 17:19:05 +0000 (18:19 +0100)
(eww-process-text-input): Inhibit read only so that input fields
don't get shortened (bug#19085).

lisp/ChangeLog
lisp/net/eww.el

index 58f2a58a1c6bfe695ad81ddb654209de72011aa0..bb25996ffcaf210b0c42696258d38f9e27bafcca 100644 (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>
 
index a607e444fa3035c958fc09b542ffcd791b8f9d10..97939cb611a498382d244b54f0ce840cc95fde22 100644 (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