thomascube
2011-12-12 a4be516f688d934699dd40f39d7f4f9eaa1ce1eb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
 * 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);