Date index for Mar 2003


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

buildNavigation bug fixed



Hi

In atk/class.atknode.inc , the buildNavigation-function takes $mode as indata. This variable is not used when building links, which makes navigation faulty.

So, by changing the three linkcreating rows like this:
[...] "?atknodetype=".$this->atkNodeType()."&atkaction=select&atkstartat=" [...]
to
[...] "?atknodetype=".$this->atkNodeType()."&atkaction=".$mode."&atkstartat=" [...]
, things go more smoothely. Now, dows this break anyting? I haven't found anything so far, but I might be wrong.


Perhaps function buildNavigation($mode="")
should be changed into
function buildNavigation($mode="select")


Cheers,

Jonas



http://www.achievo.org/lists achievo.org - ©1999-2002 ibuildings.nl BV