~quam-plures-core/quam-plures/bug-614012

« back to all changes in this revision

Viewing changes to qp_plugins/tinymce_plugin/tiny_mce/plugins/xhtmlxtras/js/cite.js

  • Committer: yabs
  • Author(s): EdB
  • Date: 2010-07-23 07:41:42 UTC
  • mfrom: (7507.5.4 upgrade_tinymce_core)
  • Revision ID: yabs@innervisions.org.uk-20100723074142-1xhibhdhaibhq33m
Upgrade TinyMCE

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 /**
2
 
 *
3
 
 * @author Moxiecode - based on work by Andrew Tetlaw
4
 
 * @copyright Copyright � 2004-2008, Moxiecode Systems AB, All rights reserved.
5
 
 */
6
 
 
7
 
function init() {
8
 
        SXE.initElementDialog('cite');
9
 
        if (SXE.currentAction == "update") {
10
 
                SXE.showRemoveButton();
11
 
        }
12
 
}
13
 
 
14
 
function insertCite() {
15
 
        SXE.insertElement('cite');
16
 
        tinyMCEPopup.close();
17
 
}
18
 
 
19
 
function removeCite() {
20
 
        SXE.removeElement('cite');
21
 
        tinyMCEPopup.close();
22
 
}
23
 
 
24
 
tinyMCEPopup.onInit.add(init);
 
1
/**
 
2
 * cite.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
 
 
11
function init() {
 
12
        SXE.initElementDialog('cite');
 
13
        if (SXE.currentAction == "update") {
 
14
                SXE.showRemoveButton();
 
15
        }
 
16
}
 
17
 
 
18
function insertCite() {
 
19
        SXE.insertElement('cite');
 
20
        tinyMCEPopup.close();
 
21
}
 
22
 
 
23
function removeCite() {
 
24
        SXE.removeElement('cite');
 
25
        tinyMCEPopup.close();
 
26
}
 
27
 
 
28
tinyMCEPopup.onInit.add(init);