PageRenderTime 27ms CodeModel.GetById 22ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 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
11function init() {
12	SXE.initElementDialog('abbr');
13	if (SXE.currentAction == "update") {
14		SXE.showRemoveButton();
15	}
16}
17
18function insertAbbr() {
19	SXE.insertElement('abbr');
20	tinyMCEPopup.close();
21}
22
23function removeAbbr() {
24	SXE.removeElement('abbr');
25	tinyMCEPopup.close();
26}
27
28tinyMCEPopup.onInit.add(init);