Changeset [5988b8fe1f1dd650849acb3e5c723413b7c57767] by Ron DeVera
Revision 5988b8fe1f1dd650849acb3e5c723413b7c57767,
committed 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_clickdefault tofalsebecause it kept screwing withbindTogglehandlers. 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. http://github.com/funkatron/spaz-desktop-air/commit/5988b8fe1f1dd65...
3 changed files
-
M
app/views/spaz.postpanel.js -
M
app/views/spaz.timelines.js -
M
spazcore/spazmenu.js