Menu

#72 chrome update breaks use of custom "remove" event

release_0.3
fixedawaitingtest
None
1
2013-04-18
2013-04-18
No

An update to the DOM spec, to add "remove" function, was early-adopted by Google Chrome in mid-Jan 2013. This update breaks usage of the custom "remove" event used by the scoreboard javascript. The only/best solution is to change the javascript to use a different named event for removals. It probably is best to just namespace prefix all custom events, to avoid any future possible conflicts.

http://blog.socialcast.com/jquery-custom-remove-event-with-chrome-24/

The problems this would cause are general chaos whenever any elements are removed (since the element's parent is removed instead). Elements are removed when, for example:
-saved xml is loaded back into the scoreboard
-saved teams are assigned to replace a current team
-skaters are removed

any probably many other situations.

Related

Bugs: #70

Discussion

  • Dan Streetman

    Dan Streetman - 2013-04-18
    • status: assigned --> fixedawaitingtest
     
  • Dan Streetman

    Dan Streetman - 2013-04-18

    All custom events renamed; "add" to "sbadd", "remove" to "sbremove", "content" to "sbchange". This appears to address this bug; checked into latest git and will be in the next 0.3.0-beta release.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB