From fac70af55b0f6af8152209760d4f32affa525deb Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sat, 21 Mar 2009 13:50:21 +0100 Subject: Partly removed the category system The categories are still available for viewing and editing to aid in the transition to the tagging system, but editing has been removed. --- static/f/forms.js | 51 --------------------------------------------------- static/f/script.js | 2 -- 2 files changed, 53 deletions(-) (limited to 'static') diff --git a/static/f/forms.js b/static/f/forms.js index e104b7e3..193b36d8 100644 --- a/static/f/forms.js +++ b/static/f/forms.js @@ -11,57 +11,6 @@ function shorten(v, l) { - /************************\ - * C A T E G O R I E S * - \************************/ - - -function catLoad() { - var i; - var cats=[]; - var ct = x('categories'); - var l = ct.value.split(','); - for(i=0;i 0) - r+=(r?',':'')+l[i]+cats[l[i]]; - ct.value = r; - return false; - }; - } -} - -function catSet(id, rnk) { - x('cat_'+id).className = 'catlvl_'+rnk; - x('b_'+id).innerHTML = rnk; -} - - - - /***********************************\ diff --git a/static/f/script.js b/static/f/script.js index fa92382d..bdb2cd14 100644 --- a/static/f/script.js +++ b/static/f/script.js @@ -516,8 +516,6 @@ DOMLoad(function() { } // forms.js - if(x('categories')) - catLoad(); if(x('relations')) relLoad(); if(x('jt_box_screenshots')) -- cgit v1.2.3