Track action=loaded when the editor is *fully* ready

Change-Id: I29ee776bdfe5d89ddffb97175588ed037ef0beee
This commit is contained in:
Ed Sanders 2017-12-06 16:31:52 +00:00
parent 501a982ed4
commit 0322d628aa

View file

@ -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;
} );