From efb623af0bcb47d510501c282e1326b11343a29c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 22 Sep 2012 22:27:04 -0400 Subject: site reorg --- .../jscripts/tiny_mce/plugins/example/js/dialog.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 lib/grappelli/media/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js (limited to 'lib/grappelli/media/tinymce/jscripts/tiny_mce/plugins/example/js') 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); -- cgit v1.2.3-70-g09d2