AdvancedText fails to save when there are multiple instances
1. Detailed steps to reproduce the bug (exactly how and when did it happen)
While editing content with more than one AdvancedText field, the rich text field that has the focus fails to save changes unless one moves out of the field before hitting the Save button.
2. Platform and version number. E.g. Drupal, Wordpress, Moodle.
Drupal 7.5.9
3. Mobile or Desktop
Desktop
4. Browser: Chrome, Firefox, Safari etc
Chrome
5. H5P plugin version
Drupal 7.x-1.35
6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
Any content type with more than one AdvancedText field
7. Any browser console errors
Uncaught ReferenceError: H5PIntegration is not defined
This happens all the time, not just in conjunction with this error
8. Any PHP errors
Nothing in the log
9. Screenshots if it's a visual problem
10. Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.)
N/A
11. Any recent changes to the browser you're using (new extensions, updates etc.)
N/A