/BlogEngine/BlogEngine.NET/editors/tiny_mce_3_4_3_1/plugins/xhtmlxtras/js/cite.js
JavaScript | 28 lines | 15 code | 4 blank | 9 comment | 2 complexity | ba39487ce6a625538b838c21502bbaa7 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
- /**
- * cite.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('cite');
- if (SXE.currentAction == "update") {
- SXE.showRemoveButton();
- }
- }
-
- function insertCite() {
- SXE.insertElement('cite');
- tinyMCEPopup.close();
- }
-
- function removeCite() {
- SXE.removeElement('cite');
- tinyMCEPopup.close();
- }
-
- tinyMCEPopup.onInit.add(init);