diff options
| author | Hitesh Trivedi <htr@openerp.com> | 2014-10-01 16:17:43 +0530 |
|---|---|---|
| committer | Richard Mathot <rim@openerp.com> | 2014-12-05 14:45:06 +0100 |
| commit | f570ea1e3edaa2a1387abe5018bafcc7ab07ef5f (patch) | |
| tree | f5de8fc6048466503592598c339c41be310abc5c /addons/pad/static/plugin/ep_disable_init_focus/ep.json | |
| parent | 1c834d009f555ad8c44b9a6609676146ab80e295 (diff) | |
[ADD] pad: new etherpad plugin to remove autofocus
In the form views where the pads are used, Etherpad-lite automatically
focus on the pad content, even if the user has already started to type
into another field.
This behavior is quite annoying for "quick changes", so we provide a
(very tiny) plugin for Etherpad-lite that will prevent this autofocus.
Detailed installation instructions are also included.
Diffstat (limited to 'addons/pad/static/plugin/ep_disable_init_focus/ep.json')
| -rw-r--r-- | addons/pad/static/plugin/ep_disable_init_focus/ep.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/pad/static/plugin/ep_disable_init_focus/ep.json b/addons/pad/static/plugin/ep_disable_init_focus/ep.json new file mode 100644 index 00000000000..547cd8a2486 --- /dev/null +++ b/addons/pad/static/plugin/ep_disable_init_focus/ep.json @@ -0,0 +1,10 @@ +{ + "parts":[ + { + "name":"ep_disable_init_focus", + "client_hooks":{ + "aceEditEvent":"ep_disable_init_focus/static/js/disable_init_focus" + } + } + ] +} |
