Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix bug #1015 : repeated ids are prohibited

  • Loading branch information...
commit e4ed7e983d227ad7c81557ce6e56cb404db686bd 1 parent aff40d2
@fpaterno fpaterno authored
View
2  modules/gallery/helpers/gallery_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")));
}
View
5 modules/organize/helpers/organize_event.php
@@ -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}")));
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.