removed mods directory from the ATutor codebase
[atutor.git] / mods / job_board / include / js / edit.js
diff --git a/mods/job_board/include/js/edit.js b/mods/job_board/include/js/edit.js
deleted file mode 100644 (file)
index 17536ec..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/***********************************************************************/\r
-/* ATutor                                                                                                                         */\r
-/***********************************************************************/\r
-/* Copyright (c) 2002-2010                                             */\r
-/* Inclusive Design Institute                                         */\r
-/* http://atutor.ca                                                                                                       */\r
-/*                                                                                                                                        */\r
-/* This program is free software. You can redistribute it and/or          */\r
-/* modify it under the terms of the GNU General Public License            */\r
-/* as published by the Free Software Foundation.                                          */\r
-/***********************************************************************/\r
-// $Id$\r
-\r
-/*global jQuery*/\r
-/*global ATutor */\r
-/*global tinyMCE */\r
-/*global window */\r
-\r
-ATutor = ATutor || {};\r
-ATutor.mods = ATutor.mods || {};\r
-ATutor.mods.editor = ATutor.mods.editor || {};\r
-\r
-(function () {\r
-    //initialises values to show or hide them\r
-    var setupPage = function () {\r
-        var textArea = jQuery("#textSpan");\r
-        var textAreaId = "jb_description";\r
-        if (jQuery("#html").attr("checked")) {\r
-            if (ATutor.mods.editor.editor_pref !== '1' && !tinyMCE.get(textAreaId)) {\r
-                       tinyMCE.execCommand('mceAddControl', false, textAreaId);\r
-            }\r
-            textArea.show();\r
-        } else {\r
-            if (tinyMCE.get(textAreaId)) {\r
-               tinyMCE.execCommand('mceRemoveControl', false, textAreaId);\r
-            }\r
-            textArea.show();\r
-        }      \r
-    };\r
-\r
-    //set up click handlers and show/hide appropriate tools via setupPage\r
-    var initialize = function () {\r
-        jQuery("#formatting_radios > input").click(setupPage);\r
-        setupPage();\r
-    };\r
-    \r
-    jQuery(document).ready(initialize);\r
-})();
\ No newline at end of file