ve.ce.CXTransclusionBlockNode: Prevent js error when the model is null

Observed that this.model is null when setFocussed method is called, while
testing T208985

Follow up: Ib8eb270e06840f98c57f50dc239b0f8bfd0ee1e8
Bug: T204937
Change-Id: I35c9d7a541da886c325e9a30305ce6954e7f3e12
1 file changed
tree: 7c3c4625a759466664585023ea9706a3673568a5
  1. .eslintrc.json
  2. .gitignore
  3. .gitreview
  4. .phpcs.xml
  5. .stylelintrc.json
  6. AUTHORS.txt
  7. CODE_OF_CONDUCT.md
  8. CONTRIBUTING.md
  9. ContentTranslation.alias.php
  10. ContentTranslation.hooks.php
  11. Gruntfile.js
  12. LICENSE.txt
  13. MIT-LICENSE.txt
  14. README.md
  15. api/
  16. composer.json
  17. doc/
  18. extension.json
  19. hooks.md
  20. i18n/
  21. images/
  22. includes/
  23. lib/
  24. modules/
  25. package.json
  26. scripts/
  27. specials/
  28. sql/
  29. tests/
README.md

ContentTranslation

ContentTranslation is a tool that allows editors to translate pages from one language to another with the help of machine translation and other translation tools.

For more details, see [Content translation][]

Developing and installing

For information on installing ContentTranslation on a local wiki, please see [Installation][]

For information about running tests and contributing code to ContentTranslation, see [Contributing][]. Patch submissions are reviewed and managed with [Gerrit][].

[Content translation]: https://www.mediawiki.org/wiki/Special:MyLanguage/Content_translation [Installation]: https://www.mediawiki.org/wiki/Extension:ContentTranslation#Installation [Contributing]: CONTRIBUTING.md [Gerrit]: https://www.mediawiki.org/wiki/Gerrit

Copyright

The ContentTranslation extension, including those listed in the AUTHORS.txt file, hold the copyright to this work. It is free software released under the GNU General Public License version 2 or later. See the files AUTHORS.txt and LICENSE.txt.

The Chart.js library is Copyright (c) 2013-2015 Nick Downie, and it is free software released under the MIT license. See the file MIT-LICENSE.txt.