Changeset [5988b8fe1f1dd650849acb3e5c723413b7c57767] by Ron DeVera

July 15th, 2010 @ 09:00 PM

SpazMenu: Added SpazMenu.prototype.bindToggle for the common case of toggling via another element

  • Updated most existing SpazMenu instances to use bindToggle.
  • Changed close_on_any_click default to false because it kept screwing with bindToggle handlers. Binding a SpazMenu to a toggle has been the use case so far, and likely to remain the most common. Dismissing the menu on any click is probably useful for menus that have no specific toggle, e.g., contextual menus. They'll be converted to use SpazMenu sometime later.

Committed by Ron DeVera

  • M app/views/spaz.postpanel.js
  • M app/views/spaz.timelines.js
  • M spazcore/spazmenu.js
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Spaz Desktop project

Shared Ticket Bins