From 19d1e6c208458f8636ae8dd82a56f645a76c4339 Mon Sep 17 00:00:00 2001 From: Dongsheng Cai Date: Tue, 10 Nov 2009 08:57:40 +0000 Subject: [PATCH] "MDL-20603, remove an unused js file from moodlemedia plugin" --- .../tinymce/plugins/moodlemedia/js/dialog.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 lib/editor/tinymce/plugins/moodlemedia/js/dialog.js diff --git a/lib/editor/tinymce/plugins/moodlemedia/js/dialog.js b/lib/editor/tinymce/plugins/moodlemedia/js/dialog.js deleted file mode 100755 index fa8341132f..0000000000 --- a/lib/editor/tinymce/plugins/moodlemedia/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); -- 2.39.5