diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-05-14 16:55:15 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-05-14 16:55:15 -0700 |
commit | 1240878df0f4a2b0ad0cdb32814717038ff2773f (patch) | |
tree | 7cf95c440d91c2a6db28b2221ad0b063599dc8c4 /modules/gallery/libraries/Theme_View.php | |
parent | dc4fdca2ab1160e6fea1d51694a7b66ae18ef5e9 (diff) |
Fix-ups for d98b85f7d3142676e6b4f407a18ed81564823f88
- Pass the CSS selector of the active image in as an arg to site_menu
so that quick operations know what they're operating on.
- Change the ids from g-{photo,movie}-id to the generic g-item-id
- Initialize ajax handlers for site menu on the photo and movie page
- Drop the movie context menu, it's now in the site menu
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
-rw-r--r-- | modules/gallery/libraries/Theme_View.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php index 8b432fb6..6246c6f1 100644 --- a/modules/gallery/libraries/Theme_View.php +++ b/modules/gallery/libraries/Theme_View.php @@ -86,9 +86,9 @@ class Theme_View_Core extends Gallery_View { return $menu->render(); } - public function site_menu() { + public function site_menu($item_css_selector) { $menu = Menu::factory("root"); - module::event("site_menu", $menu, $this); + module::event("site_menu", $menu, $this, $item_css_selector); return $menu->render(); } |