2011-04-05 01:42:57 +02:00
|
|
|
/**
|
|
|
|
* abbr.js
|
2009-11-21 03:26:09 +01:00
|
|
|
*
|
2011-04-05 01:42:57 +02:00
|
|
|
* Copyright 2009, Moxiecode Systems AB
|
|
|
|
* Released under LGPL License.
|
|
|
|
*
|
|
|
|
* License: http://tinymce.moxiecode.com/license
|
|
|
|
* Contributing: http://tinymce.moxiecode.com/contributing
|
2009-11-21 03:26:09 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
function init() {
|
|
|
|
SXE.initElementDialog('abbr');
|
|
|
|
if (SXE.currentAction == "update") {
|
|
|
|
SXE.showRemoveButton();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function insertAbbr() {
|
2011-04-05 01:42:57 +02:00
|
|
|
SXE.insertElement('abbr');
|
2009-11-21 03:26:09 +01:00
|
|
|
tinyMCEPopup.close();
|
|
|
|
}
|
|
|
|
|
|
|
|
function removeAbbr() {
|
|
|
|
SXE.removeElement('abbr');
|
|
|
|
tinyMCEPopup.close();
|
|
|
|
}
|
|
|
|
|
|
|
|
tinyMCEPopup.onInit.add(init);
|