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

This commit is contained in:
jenkins-bot 2017-12-11 21:28:29 +00:00 committed by Gerrit Code Review
commit fae67b0a3d

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