Support "ctrl-s" shortcut to save text.
Review Request #2394 — Created June 10, 2011 and submitted
Support "ctrl-s" shortcut to save text. * Support "ctrl-s" to save pending input text in review description, comments, etc.
Manually tested with IE, Firefox, Chrome, Safari and Opera and unit test.
C:\Python25\lib\site-packages\django-1.3-py2.5.egg\django\db\__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead.
DeprecationWarning
C:\Python25\lib\site-packages\django-1.3-py2.5.egg\django\db\__init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.'
DeprecationWarning
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
Testing DateTimeSinceColumn ... ok
Testing datagrids with custom column orders ... C:\Python25\lib\site-packages\django-1.3-py2.5.egg\django\template\loaders\filesystem.py:58: DeprecationWarning: 'django.template.loaders.filesystem.load_template_source' is deprecated; use 'django.template.loaders.filesystem.Loader' instead.
DeprecationWarning
C:\Python25\lib\site-packages\django-1.3-py2.5.egg\django\template\loaders\app_directories.py:71: DeprecationWarning: 'django.template.loaders
HO
- Change Summary:
-
Thanks Christian. Here is the fix. Worked in 5 main browsers.
- Diff:
-
Revision 2 (+22 -6)
HO
- Change Summary:
-
Changed according to Christian's advices.
- Description:
-
Support "ctrl-s" shortcut to save text.
- Support "ctrl-s" to save pending input text in review description, comments, etc.
- - Fixed the issue, which shortcut "enter" and "esc" didn't work in some browsers.
- Testing Done:
-
~ Manually tested with IE, Firefox, Chrome, Safari and Opera.
~ Manually tested with IE, Firefox, Chrome, Safari and Opera and unit test.
- Bugs:
- Diff:
-
Revision 3 (+27 -4)
- Added Files: