Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Browser.pm - can someone complete this example?

Quote Reply
Browser.pm - can someone complete this example?
Hi

The following is from line 2020 in Browser.pm

Code:
$error .= qq|parent.draw_tree(); parent.frames[parent.RIGHT_FRAME_ID].location.replace("| . Links::Browser::JFunction::tree_selectnode() . qq|&category_id=$args->{tree_redraw}");\n|;

Can someone show me an example of the resulting url that is passed to the ...location.replace function?

Thanks,

Regan
Quote Reply
Re: [ryel01] Browser.pm - can someone complete this example? In reply to
That's all a generic function, so the url could really be any url that the browser code generates. The function tree_selectnode() takes the current url and adds action=category_click to it.

Adrian