/img/js/tiny_mce/plugins/xhtmlxtras/js/abbr.js
http://github.com/plushcms/PlushCMS · JavaScript · 28 lines · 15 code · 4 blank · 9 comment · 2 complexity · d91ae7d986336de4ecb977d19dcfab19 MD5 · raw file
- /**
- * abbr.js
- *
- * Copyright 2009, Moxiecode Systems AB
- * Released under LGPL License.
- *
- * License: http://tinymce.moxiecode.com/license
- * Contributing: http://tinymce.moxiecode.com/contributing
- */
-
- function init() {
- SXE.initElementDialog('abbr');
- if (SXE.currentAction == "update") {
- SXE.showRemoveButton();
- }
- }
-
- function insertAbbr() {
- SXE.insertElement('abbr');
- tinyMCEPopup.close();
- }
-
- function removeAbbr() {
- SXE.removeElement('abbr');
- tinyMCEPopup.close();
- }
-
- tinyMCEPopup.onInit.add(init);