Files
odoo_source/addons/pad/static/plugin/ep_disable_init_focus
Hitesh Trivedi f570ea1e3e [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.
2014-12-05 14:45:06 +01:00
..

Readme

ep_disable_init_focus is a very simple Etherpad-lite plugin, which disable the focus on the pad content after its loading.

Rationale

Etherpad-lite autofocus can be annoying to end-users when it is used in Odoo's "pad" widget, because it will override web client focus rules. This plugin is design to get rid of this behavior.

Installation instructions

  1. Stop your Etherpad-lite server.

  2. Copy the ep_disabl_init_focus folder into the node_modules folder of your Etherpad-lite installation.

  3. in the folder of your Etherpad-lite installation, run this command to install the plugin:

    npm install node_modules/ep_disable_init_focus/
    
  4. Restart the Etherpad-lite server.