Permalink
Browse files

Fix bug #1015 : repeated ids are prohibited

  • Loading branch information...
1 parent aff40d2 commit e4ed7e983d227ad7c81557ce6e56cb404db686bd @fpaterno fpaterno committed Mar 1, 2010
Showing with 3 additions and 4 deletions.
  1. +1 −1 modules/gallery/helpers/gallery_event.php
  2. +2 −3 modules/organize/helpers/organize_event.php
@@ -383,7 +383,7 @@ static function context_menu($menu, $theme, $item, $thumb_css_selector) {
->id("delete")
->label($delete_title)
->css_class("ui-icon-trash")
- ->css_id("g-quick-delete")
+ ->css_class("g-quick-delete")
->url(url::site("quick/form_delete/$item->id?csrf=$csrf&from_id=$theme_item->id&page_type=$page_type")));
}
@@ -26,7 +26,7 @@ static function site_menu($menu, $theme) {
->append(Menu::factory("dialog")
->id("organize")
->label(t("Organize album"))
- ->css_id("g-organize-link")
+ ->css_id("g-menu-organize-link")
->url(url::site("organize/dialog/{$item->id}")));
}
}
@@ -37,8 +37,7 @@ static function context_menu($menu, $theme, $item) {
->append(Menu::factory("dialog")
->id("organize")
->label(t("Organize album"))
- ->css_id("g-organize-link")
- ->css_class("ui-icon-folder-open")
+ ->css_class("ui-icon-folder-open g-organize-link")
->url(url::site("organize/dialog/{$item->id}")));
}
}

0 comments on commit e4ed7e9

Please sign in to comment.