From fc132d6fcc86304bcb659b5f5cac42589561aca2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 20 Sep 2011 18:51:30 -0600 Subject: [PATCH] ... --- src/calibre/web/jsbrowser/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/web/jsbrowser/forms.py b/src/calibre/web/jsbrowser/forms.py index 67113afab7..98ee7f0b84 100644 --- a/src/calibre/web/jsbrowser/forms.py +++ b/src/calibre/web/jsbrowser/forms.py @@ -25,7 +25,7 @@ class Control(object): def fget(self): if self.type in ('checkbox', 'radio'): return unicode(self.qwe.attribute('checked')) == 'checked' - if self.type in ('text', 'password'): + if self.type in ('text', 'password', 'hidden'): return unicode(self.qwe.attribute('value')) def fset(self, val): @@ -34,7 +34,7 @@ class Control(object): self.qwe.setAttribute('checked', 'checked') else: self.qwe.removeAttribute('checked') - elif self.type in ('text', 'password'): + elif self.type in ('text', 'password', 'hidden'): self.qwe.setAttribute('value', as_unicode(val)) return property(fget=fget, fset=fset)