So I ended up figuring out the problem. What happens was because in my
curry function, I was doing:

args.extend(arguments);

My bad for not looking at the documentation but extend mutates args,
hence each later call would just push the new event to the list will
keeping the old one there. That of course means every time my show
function gets called, it is given the very first event. That was why
it worked the first time but not the second and on.

On Jan 20, 4:59 pm, duclet <[email protected]> wrote:
> The inspiration to learn MooTools. Though I can't still understand why
> this problem is happening. It works the first time you click it as the
> event is stop. Yet, the second time you click it, it does not stop the
> event.
>
> On Jan 19, 4:53 pm, Roman Land <[email protected]> wrote:
>
>
>
> > Then where are you getting the "inspiration" from ;)
>
> > On Tue, Jan 19, 2010 at 11:48 PM, duclet <[email protected]> wrote:
> > > It is more of me writing something to learn to use MooTools.
>
> > > On Jan 19, 2:59 pm, Ryan Florence <[email protected]> wrote:
> > > > TITabsJS?  What kind of site is this?
>
> > > > On Jan 19, 2010, at 12:53 PM, duclet wrote:
>
> > > > > Opps, wrong URL, here is the correct one:
>
> > > > >http://mootools.net/shell/YWjxV/3/
>
> > > > > On Jan 19, 2:51 pm, duclet <[email protected]> wrote:
> > > > >> Oh, okay, here it is, the full thing:
>
> > > > >>http://mootools.net/shell/YWjxV/2/
>
> > > > >> I tried keif method and that seems to work. I also made the method
> > > > >> returns false and that seems to work as well. What I have posted
> > > > >> there
> > > > >> is still the un-working version though since I want to see if someone
> > > > >> can help me figure out the underlying issue. It seems like it might
> > > > >> have to do with my curry method but I can't see where the problem
> > > > >> really is. Any help is much appreciated.
>
> > > > >> On Jan 19, 7:30 am, Roman Land <[email protected]> wrote:
>
> > > > >>> Duclet, you missed the point of the mooshell, its not a place to
> > > > >>> paste you
> > > > >>> code (you might as well send it to the list) you need to reproduce
> > > > >>> the issue
> > > > >>> there..
>
> > > > >>> By just reading your code I cant understand your issue == cant
> > > > >>> help you..
>
> > > > >>> On Tue, Jan 19, 2010 at 2:25 PM, duclet <[email protected]> wrote:
> > > > >>>> Whats that? Sorry, I am still need to this so.
>
> > > > >>>> On Jan 19, 7:19 am, Roman Land <[email protected]> wrote:
> > > > >>>>> double click event?
>
> > > > >>>>> On Tue, Jan 19, 2010 at 2:17 PM, אריה גלזר
> > > > >>>>> <[email protected]>
> > > > >>>> wrote:
> > > > >>>>>> upload an example to mooshell
> > > > >>>>>> -----------
> > > > >>>>>> אריה גלזר
> > > > >>>>>> 052-5348-561
> > > > >>>>>> 5561
>
> > > > >>>>>> On Tue, Jan 19, 2010 at 14:13, duclet <[email protected]> wrote:
>
> > > > >>>>>>> So, I have attached an event on an li element and within the
> > > > >>>>>>> li, there
> > > > >>>>>>> is an anchor element as well. When it is clicked, I have it do
> > > > >>>>>>> something and called event.stop to prevent the default action
> > > > >>>>>>> of the
> > > > >>>>>>> anchor tag to be triggered. It works the first time I click on
> > > > >>>>>>> it.
> > > > >>>>>>> However, the second time I click on it, the event isn't stopped.
>
> > > > >>>>> --
> > > > >>>>> ---
> > > > >>>>> "Make everything as simple as possible, but not simpler."
>
> > > > >>>>> - Albert Einstein
>
> > > > >>> --
> > > > >>> ---
> > > > >>> "Make everything as simple as possible, but not simpler."
>
> > > > >>> - Albert Einstein
>
> > --
> > ---
> > "Make everything as simple as possible, but not simpler."
>
> > - Albert Einstein

Reply via email to