I have a script with only this line:

I have a script with only this line:

alert(LL.getEvent().getSource())

When i put the script on an touch event of an item event.getSource() somehow returns the source of the event that was fired before I touched the item. (For example it would say C_RESUMED if I had just switched to that desktop)

]]>

3 Commentsto I have a script with only this line:

  1. Anonymous says:

    < ![CDATA[

    Yes. It works that way.


    Currently there is no way to detect Touch/Create/Delete sources.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Oh, kinda weird I_TOUCH is listed at the info about getSource in the documentation then, or does getSource return this in another case?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Hmm, good question.


    Pierre Hébert​?

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *