From 45931203df7abc9153f1d9524ea2d7ae3c86095f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 21 Nov 2009 02:34:57 +0000 Subject: [PATCH] MINOR Deleted unused ForumAdmin.js git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92574 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/ForumAdmin.js | 115 --------------------------------------- 1 file changed, 115 deletions(-) delete mode 100755 javascript/ForumAdmin.js diff --git a/javascript/ForumAdmin.js b/javascript/ForumAdmin.js deleted file mode 100755 index 5656376a..00000000 --- a/javascript/ForumAdmin.js +++ /dev/null @@ -1,115 +0,0 @@ -var _GroupID; -Behaviour.register({ - '#Form_EditForm_Type input':{ - onclick:function(){ - var requiredlogin = $('Form_EditForm_RequiredLogin'); - var usersTab = $('Form_EditForm').getElementsByTagName('ul')[0].getElementsByTagName('li')[2]; - if(this.value == 'consultation'){ - if(requiredlogin.checked != 'checked') - requiredlogin.checked = 'checked'; - usersTab.style.display = 'block'; - if(_GroupID) - this.recoverGroupID(); - Element.disable(requiredlogin); - }else{ // this.value == 'open' - usersTab.style.display = 'none'; - this.treatGroupIDAs0(); - Element.enable(requiredlogin); - } - }, - - treatGroupIDAs0:function(){ - var groupIDDiv = $('GroupID'); - var groupIDs = groupIDDiv.getElementsByTagName('option'); - for(var i=0; i