adicionando arquivos de media (incluindo o editor tiny mce (LGPL)
[cascardo/eventmanager.git] / media / tiny_mce / plugins / xhtmlxtras / jscripts / cite.js
diff --git a/media/tiny_mce/plugins/xhtmlxtras/jscripts/cite.js b/media/tiny_mce/plugins/xhtmlxtras/jscripts/cite.js
new file mode 100755 (executable)
index 0000000..4804db4
--- /dev/null
@@ -0,0 +1,29 @@
+ /**\r
+ * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $\r
+ *\r
+ * @author Moxiecode - based on work by Andrew Tetlaw\r
+ * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.\r
+ */\r
+\r
+function preinit() {\r
+       // Initialize\r
+       tinyMCE.setWindowArg('mce_windowresize', false);\r
+}\r
+\r
+function init() {\r
+       tinyMCEPopup.resizeToInnerSize();\r
+       SXE.initElementDialog('cite');\r
+       if (SXE.currentAction == "update") {\r
+               SXE.showRemoveButton();\r
+       }\r
+}\r
+\r
+function insertCite() {\r
+       SXE.insertElement('cite');\r
+       tinyMCEPopup.close();\r
+}\r
+\r
+function removeCite() {\r
+       SXE.removeElement('cite');\r
+       tinyMCEPopup.close();\r
+}
\ No newline at end of file