diff --git a/code/CommentAdmin.php b/code/CommentAdmin.php index afb376f3..7f349139 100644 --- a/code/CommentAdmin.php +++ b/code/CommentAdmin.php @@ -26,7 +26,6 @@ class CommentAdmin extends LeftAndMain { public function init() { parent::init(); - Requirements::javascript(CMS_DIR . '/javascript/CommentAdmin_right.js'); Requirements::css(CMS_DIR . 'css/CommentAdmin.css'); } diff --git a/javascript/CommentAdmin_right.js b/javascript/CommentAdmin_right.js deleted file mode 100644 index cbb94814..00000000 --- a/javascript/CommentAdmin_right.js +++ /dev/null @@ -1,13 +0,0 @@ -Behaviour.register({ - '#Form_EditForm' : { - getPageFromServer : function(id) { - statusMessage("loading..."); - - var requestURL = 'admin/comments/showtable/' + id; - - this.loadURLFromServer(requestURL); - - $('sitetree').setCurrentByIdx(id); - } - } -}); \ No newline at end of file