summaryrefslogtreecommitdiff
path: root/modules/digibug
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-08-03 21:45:54 -0700
committerBharat Mediratta <bharat@menalto.com>2009-08-03 21:45:54 -0700
commit52147cf6f857c4c54a2f3d753e72b27b5141d028 (patch)
tree323cf4f2afb64e6a22f319e303c656d8a7cb3ef4 /modules/digibug
parent7ad0808a117fd1db4e94da8d7763ccca1d69350a (diff)
Combine the quick menu and the thumb menu into a single menu called
the "context" menu. This new context menu is generated using the typical event processing system, like our other menus. The specialized quick CSS and JS is now gone, replaced by our generic menu handling code. It's all rolled together currently using the thumb_menu UI for easy packaging. All the CSS and JS is updated. NOTE: the non-dialog links (rotate, album_cover) have a broken UI because they return JSON which the quick.js code handled specially, but we don't handle properly now. I need to fix this.
Diffstat (limited to 'modules/digibug')
-rw-r--r--modules/digibug/helpers/digibug_event.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/digibug/helpers/digibug_event.php b/modules/digibug/helpers/digibug_event.php
index c4f9e560..efe66a0f 100644
--- a/modules/digibug/helpers/digibug_event.php
+++ b/modules/digibug/helpers/digibug_event.php
@@ -36,9 +36,9 @@ class digibug_event_Core {
->css_id("gDigibugLink"));
}
- static function thumb_menu($menu, $theme, $item) {
+ static function context_menu($menu, $theme, $item) {
if ($item->type == "photo") {
- $menu->get("options_menu")
+ $menu
->append(
Menu::factory("link")
->id("digibug")