Permalink
Browse files

Change InputBox default to wait for a box change, rather than trigger…

…ing on each keypress
  • Loading branch information...
1 parent 87460ec commit 1b188e3cfe5528a1fb340220f669e0c365178739 Jason Grout committed Jan 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 interact_sagecell.py
View
@@ -357,7 +357,7 @@ class InputBox(InteractControl):
:arg bool keypress: update the value of the interact when the user presses
any key, rather than when the user presses Enter or unfocuses the textbox
"""
- def __init__(self, default=u"", label=None, width=0, height=1, keypress=True):
+ def __init__(self, default=u"", label=None, width=0, height=1, keypress=False):
if not isinstance(default, basestring):
default = repr(default)
self.default=default

0 comments on commit 1b188e3

Please sign in to comment.