mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-30 19:15:43 +00:00
Merge "Track action=loaded when the editor is *fully* ready"
This commit is contained in:
commit
fae67b0a3d
|
@ -61,6 +61,11 @@
|
||||||
logEditEvent( 'ready', {
|
logEditEvent( 'ready', {
|
||||||
editingSessionId: editingSessionId
|
editingSessionId: editingSessionId
|
||||||
} );
|
} );
|
||||||
|
$textarea.on( 'wikiEditor-toolbar-doneInitialSections', function () {
|
||||||
|
logEditEvent( 'loaded', {
|
||||||
|
editingSessionId: editingSessionId
|
||||||
|
} );
|
||||||
|
} );
|
||||||
$textarea.closest( 'form' ).submit( function () {
|
$textarea.closest( 'form' ).submit( function () {
|
||||||
submitting = true;
|
submitting = true;
|
||||||
} );
|
} );
|
||||||
|
|
Loading…
Reference in a new issue