Branch: Tag:

1998-04-24

1998-04-24 08:40:14 by Per Hedbor <ph@opera.com>

Fixed a case where you would be unable to select a tab since it would send you to a non-exisiting node.

Rev: server/base_server/mainconfig.pike:1.104

1:   inherit "config/builders"; - string cvs_version = "$Id: mainconfig.pike,v 1.103 1998/04/15 14:44:20 grubba Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.104 1998/04/24 08:40:14 per Exp $";   //inherit "roxenlib";      inherit "config/draw_things";
1316:    if(!o) // Bad node, perhaps an old bookmark or something.    {    id->referer = ({ }); +  foreach(indices(selected_nodes), string n) +  if(selected_nodes[n] == id->not_query) +  selected_nodes[n] = "/"+n;    return std_redirect(0, id);    } else if(o == root) {    // The URL is http://config-url/, not one of the top nodes, but