PageRenderTime 38ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 1ms

/BlogEngine/BlogEngine.NET/editors/tiny_mce_3_4_3_1/plugins/xhtmlxtras/js/abbr.js

#
JavaScript | 28 lines | 15 code | 4 blank | 9 comment | 2 complexity | d91ae7d986336de4ecb977d19dcfab19 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. /**
  2. * abbr.js
  3. *
  4. * Copyright 2009, Moxiecode Systems AB
  5. * Released under LGPL License.
  6. *
  7. * License: http://tinymce.moxiecode.com/license
  8. * Contributing: http://tinymce.moxiecode.com/contributing
  9. */
  10. function init() {
  11. SXE.initElementDialog('abbr');
  12. if (SXE.currentAction == "update") {
  13. SXE.showRemoveButton();
  14. }
  15. }
  16. function insertAbbr() {
  17. SXE.insertElement('abbr');
  18. tinyMCEPopup.close();
  19. }
  20. function removeAbbr() {
  21. SXE.removeElement('abbr');
  22. tinyMCEPopup.close();
  23. }
  24. tinyMCEPopup.onInit.add(init);