rem: function storeforum_response(originalRequest, json) 
add: function storeforum_response(originalRequest) 
context: function storeforum_response(originalRequest, json){    // show error if necessary    if( originalRequest.status != 200 ) {         pnf_toggleprogressimage(false, json.forum.forum_id);        pnf_showajaxerror(originalRequest.responseText);        return;    }    updateAuthid(json.authid);    switch(json.action) {        case 'delete':            var forum = 'forum_' + json.old_id;            // hide it            Effect.toggle(forum, 'slide');            // check if there are more forums, if not, show place holder            if($(forum).parentNode.childNodes.length == 3) {                // 3 = this forum li, emptycategory li  + newforum li                // after removing it the list will be virtually empty                Element.show('emptycategory_' + json.cat_id);                $('deletecategory_' + json.cat_id).style.visibility = '';            } else {                $('deletecategory_' + json.cat_id).style.visibility = 'hidden';            }            // remove it            Element.remove(forum);            break;        case 'update':            Element.update('forumtitle_' + json.forum.forum_id, json.forumtitle);            Element.update('editforum_' + json.forum.forum_id, json.editforumhtml);            break;        case 'add':            var newforumtitle = 'forumtitle_' + json.forum.forum_id;            $('forumtitle_' + json.old_id).id = newforumtitle;             Element.update(newforumtitle, json.forumtitle);            var neweditforum = 'editforum_' + json.forum.forum_id;            $('editforum_' + json.old_id).id = neweditforum;             Element.update(neweditforum, json.editforumhtml);            var newforum = 'forum_' + json.forum.forum_id;            $('forum_' + json.old_id).id = newforum;            var newhideforum = 'hideforum_' + json.forum.forum_id;            $('hideforum_' + json.old_id).id = newhideforum;            Event.observe(newhideforum, 'click', function(){hideshowforum(json.forum.forum_id)}, false);            Element.show(newhideforum);                        var newshowforum = 'showforum_' + json.forum.forum_id;            $('showforum_' + json.old_id).id = newshowforum;            Event.observe(newshowforum, 'click', function(){hideshowforum(json.forum.forum_id)}, false);            Element.hide(newshowforum);            Element.remove('canceladdforum_' + json.old_id);            $('progressforumimage_' + json.old_id).id = 'progressforumimage_' + json.forum.forum_id;            $('deletecategory_' + json.cat_id).style.visibility = 'hidden';            break;        default:            pnf_showajaxerror('storeforum_response(): received illegal action type from server');       }    pnf_toggleprogressimage(false, json.forum.forum_id);}
meta: 5124	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5124/6560f77898168ce6bb4a56d6164025cac52cd4ac/pnforum_admin.js/buggy/pnForum/pnjavascript/pnforum_admin.js