summaryrefslogtreecommitdiff
path: root/lib/grappelli/media/tinymce/jscripts/tiny_mce/plugins/example/js
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
committerluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
commitefb623af0bcb47d510501c282e1326b11343a29c (patch)
tree3a35fb19f5eba3b219c65277a5fb712cbe9604ac /lib/grappelli/media/tinymce/jscripts/tiny_mce/plugins/example/js
parent0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (diff)
site reorg
Diffstat (limited to 'lib/grappelli/media/tinymce/jscripts/tiny_mce/plugins/example/js')
-rw-r--r--lib/grappelli/media/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/grappelli/media/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js b/lib/grappelli/media/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js
deleted file mode 100644
index fa83411..0000000
--- a/lib/grappelli/media/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js
+++ /dev/null
@@ -1,19 +0,0 @@
-tinyMCEPopup.requireLangPack();
-
-var ExampleDialog = {
- init : function() {
- var f = document.forms[0];
-
- // Get the selected contents as text and place it in the input
- f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'});
- f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg');
- },
-
- insert : function() {
- // Insert the contents from the input into the document
- tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value);
- tinyMCEPopup.close();
- }
-};
-
-tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog);