Quote from: jesster444 at May 17, 2007, 02:15 AM
You are definitely right. I guess I just right click and go to edit most of the time. So I guess my wish should be changed to having it also style the selected document in the tree when right clicking it to edit the document.
OK! Here is the updates to make this request work as desired.
NOTE: The suggested modifications below are based on the
0.9.6 rev 2767 build
In
manager/frames/tree.php, make the following additions:
Insert the following code on right before Line #502:
setActiveFromContextMenu( itemToChange ); // pixelchutes
Insert the following code on right before Line #499:
setActiveFromContextMenu( itemToChange ); // pixelchutes
Insert the following code on Line #494:
// pixelchutes - 12:54 PM 6/4/2007
// Set 'treeNodeSelected' class on document node when editing via Context Menu
function setActiveFromContextMenu( doc_id ){
$$('.treeNodeSelected').removeClass('treeNodeSelected');
$$('#node'+doc_id+' span')[0].className='treeNodeSelected';
}
:)