Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Ajax/JavaScript
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      685
    • Status Whiteboard:
      Hide

      size_large importance_large

      Show
      size_large importance_large

      Description

      Sometimes, the page author would like to cancel a client side event listener.

      currently, there is no way to do this - you would have to instead code the
      listening function to stub out if some value were set, instead, or overwrite the
      function with a noop. That's awkward.

      Instead, it would be desired that the listener be removed from the list of
      listeners that the JSF client library keeps.

      One way to do this would be to have the addListener function return a token, and
      have a separate, cancel(token) function which would remove the listener
      represented by that token.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            driscoll
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: