~ubuntu-branches/ubuntu/lucid/mahara/lucid-security

« back to all changes in this revision

Viewing changes to htdocs/js/tinymce/plugins/xhtmlxtras/jscripts/abbr.js

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2009-11-27 22:09:03 UTC
  • mfrom: (6.3.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091127220903-aiigd3tr46z0rmcg
Tags: 1.2.0-2
Fix postrm script so that Mahara can be uninstalled

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 /**
2
 
 * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
3
 
 *
4
 
 * @author Moxiecode - based on work by Andrew Tetlaw
5
 
 * @copyright Copyright � 2004-2007, Moxiecode Systems AB, All rights reserved.
6
 
 */
7
 
 
8
 
function preinit() {
9
 
        // Initialize
10
 
        tinyMCE.setWindowArg('mce_windowresize', false);
11
 
}
12
 
 
13
 
function init() {
14
 
        tinyMCEPopup.resizeToInnerSize();
15
 
        SXE.initElementDialog('abbr');
16
 
        if (SXE.currentAction == "update") {
17
 
                SXE.showRemoveButton();
18
 
        }
19
 
}
20
 
 
21
 
function insertAbbr() {
22
 
        SXE.insertElement(tinyMCE.isIE && !tinyMCE.isOpera ? 'html:ABBR' : 'abbr');
23
 
        tinyMCEPopup.close();
24
 
}
25
 
 
26
 
function removeAbbr() {
27
 
        SXE.removeElement('abbr');
28
 
        tinyMCEPopup.close();
29
 
}
 
 
b'\\ No newline at end of file'