mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged 3.1 to HEAD
13275: updated web-client to use tinymce v3 13276: overlay display fix for when field has large content git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13585 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
25
source/web/scripts/tiny_mce/plugins/xhtmlxtras/js/cite.js
vendored
Executable file
25
source/web/scripts/tiny_mce/plugins/xhtmlxtras/js/cite.js
vendored
Executable file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
|
||||
*
|
||||
* @author Moxiecode - based on work by Andrew Tetlaw
|
||||
* @copyright Copyright <20> 2004-2008, Moxiecode Systems AB, All rights reserved.
|
||||
*/
|
||||
|
||||
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);
|
Reference in New Issue
Block a user