mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
Fix stolen focus on egw input fields
This commit is contained in:
parent
0bf4dc6d88
commit
e4efa38d45
@ -137,7 +137,6 @@ var et2_htmlarea = /** @class */ (function (_super) {
|
|||||||
fontsize_formats: '8pt 10pt 12pt 14pt 18pt 24pt 36pt',
|
fontsize_formats: '8pt 10pt 12pt 14pt 18pt 24pt 36pt',
|
||||||
setup: function (ed) {
|
setup: function (ed) {
|
||||||
ed.on('init', function () {
|
ed.on('init', function () {
|
||||||
this.focus();
|
|
||||||
this.execCommand('fontName', false, egw.preference('rte_font', 'common'));
|
this.execCommand('fontName', false, egw.preference('rte_font', 'common'));
|
||||||
this.execCommand('fontSize', false, egw.preference('rte_font_size', 'common')
|
this.execCommand('fontSize', false, egw.preference('rte_font_size', 'common')
|
||||||
+ egw.preference('rte_font_unit', 'common'));
|
+ egw.preference('rte_font_unit', 'common'));
|
||||||
|
@ -269,7 +269,6 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
|
|||||||
{
|
{
|
||||||
ed.on('init', function()
|
ed.on('init', function()
|
||||||
{
|
{
|
||||||
this.focus();
|
|
||||||
this.execCommand('fontName', false, egw.preference('rte_font', 'common'));
|
this.execCommand('fontName', false, egw.preference('rte_font', 'common'));
|
||||||
this.execCommand('fontSize', false, <string><unknown>egw.preference('rte_font_size', 'common')
|
this.execCommand('fontSize', false, <string><unknown>egw.preference('rte_font_size', 'common')
|
||||||
+ egw.preference('rte_font_unit', 'common'));
|
+ egw.preference('rte_font_unit', 'common'));
|
||||||
|
Loading…
Reference in New Issue
Block a user