annotate WebContent/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js @ 6:5bb7cc86069c

restlet.jar
author dwinter
date Wed, 14 Mar 2012 16:21:45 +0100
parents 0be9d53a6967
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
1 /**
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
2 * abbr.js
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
3 *
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
4 * Copyright 2009, Moxiecode Systems AB
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
5 * Released under LGPL License.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
6 *
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
7 * License: http://tinymce.moxiecode.com/license
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
8 * Contributing: http://tinymce.moxiecode.com/contributing
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
9 */
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
10
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
11 function init() {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
12 SXE.initElementDialog('abbr');
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
13 if (SXE.currentAction == "update") {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
14 SXE.showRemoveButton();
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
15 }
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
16 }
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
17
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
18 function insertAbbr() {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
19 SXE.insertElement('abbr');
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
20 tinyMCEPopup.close();
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
21 }
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
22
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
23 function removeAbbr() {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
24 SXE.removeElement('abbr');
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
25 tinyMCEPopup.close();
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
26 }
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
27
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
28 tinyMCEPopup.onInit.add(init);