Scripting question

Ian Monroe ian.monroe at gmail.com
Thu Mar 26 06:19:33 UTC 2009


On Wed, Mar 25, 2009 at 3:35 PM, Andreas Wuest <andreaswuest at gmx.de> wrote:
> Hi Nikolaj,
>
> sorry if the problem was not described properly. the problem i have is the
> following. i have a script with about 200 entries. to make it more usable i
> wanted to implement filtering. however, it did not work. so i removed
> everything that was not really required. thus i hoped to understand whats
> the problem. unfortunately that was not the case. i can sum up my problems
> with the following question.
>
> why does the repopulation of the list not work when i enter something in the
> filter box?
>
> i can see that the onPopulation method is called, but for some reason the
> insertItem method calls do not have any effect. the list stays empty.
> What's the trick ?
>
> is there anything i forgot in the script ? i just want to understand why the
> list stays empty.
>
> thanks in advance,
> cheers,
> andy
Well javascript is kinda nasty sometimes in that it will error out
with it being apparent.

Try adding a
try {
the body of the onpopulate method
catch( e ) {
print( e );
}

or similar.



More information about the Amarok mailing list