|
From: Jon O. <jon...@us...> - 2008-07-08 22:07:11
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/js In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10399/includes/js Modified Files: init_main.js management.js.php Log Message: Still updating/debugging generic core comments Index: init_main.js =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/js/init_main.js,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** init_main.js 6 Aug 2007 14:46:48 -0000 1.4 --- init_main.js 8 Jul 2008 22:07:05 -0000 1.5 *************** *** 18,22 **** tree.active = queryPath; tree.loadState(); ! tree.updateHtml(); document.title = el(tree.active+"-text").innerHTML; } --- 18,22 ---- tree.active = queryPath; tree.loadState(); ! // tree.updateHtml(); // Fix for NOT folding categories document.title = el(tree.active+"-text").innerHTML; } Index: management.js.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/js/management.js.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** management.js.php 12 Jul 2007 22:44:47 -0000 1.3 --- management.js.php 8 Jul 2008 22:07:06 -0000 1.4 *************** *** 213,217 **** { 'url':'modules/mx_bugsbt/bugsbt/modules/tabs/bugsbt__tab-index.php' ! ,'parameters':{ 'k': bug_id, 'mode':'view', 'cat':escape(treeGetId().substr(treeGetId().lastIndexOf("/")+1)), 'block_id':mxBlock.block_id, 'page_id':mxBlock.page_id } ,'onLoading':function() { clearTabs(); tabsLoadingOn(); } ,'onComplete':function() { tabsLoadingOff(); } --- 213,217 ---- { 'url':'modules/mx_bugsbt/bugsbt/modules/tabs/bugsbt__tab-index.php' ! ,'parameters':{ 'k': bug_id, 'mode':'view', 'cat':escape(treeGetId().substr(treeGetId().lastIndexOf("/")+1)), 'block_id':mxBlock.block_id, 'page_id':mxBlock.page_id, 'start':mxBlock.start } ,'onLoading':function() { clearTabs(); tabsLoadingOn(); } ,'onComplete':function() { tabsLoadingOff(); } *************** *** 299,304 **** theform ,{ ! 'onLoading':function() { clearTabs(); el('tabs-data-comment').innerHTML = ''; tabsSavingOn(); el('submit').disabled = true; } ! ,'onComplete':function() { tabsSavingOff(); el('submit').disabled = false; } ,'onSuccess':function(req){ return_data = stripBodyHtml(req.responseText); } ,'onError':function(req){ el('tabs-data-comment').innerHTML = 'Error!\nStatusText='+req.statusText+'\nContents='+req.responseText;} --- 299,304 ---- theform ,{ ! 'onLoading':function() { clearTabs(); el('tabs-data-comment').innerHTML = ''; tabsSavingOn(); } ! ,'onComplete':function() { tabsSavingOff(); } ,'onSuccess':function(req){ return_data = stripBodyHtml(req.responseText); } ,'onError':function(req){ el('tabs-data-comment').innerHTML = 'Error!\nStatusText='+req.statusText+'\nContents='+req.responseText;} |