mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 00:06:49 +00:00
Track action=loaded when the editor is *fully* ready
Change-Id: I29ee776bdfe5d89ddffb97175588ed037ef0beee
This commit is contained in:
parent
501a982ed4
commit
0322d628aa
|
@ -61,6 +61,11 @@
|
|||
logEditEvent( 'ready', {
|
||||
editingSessionId: editingSessionId
|
||||
} );
|
||||
$textarea.on( 'wikiEditor-toolbar-doneInitialSections', function () {
|
||||
logEditEvent( 'loaded', {
|
||||
editingSessionId: editingSessionId
|
||||
} );
|
||||
} );
|
||||
$textarea.closest( 'form' ).submit( function () {
|
||||
submitting = true;
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue