Permalink
Browse files

Swap organize_frame and organize_dialog since they were semantically

reversed.  organize_dialog contains the stuff that pops up in the dialog,
organize_frame contains the stuff that's in the embedded iframe.
  • Loading branch information...
1 parent e6b3886 commit aebcd445135648603590e2ab99f40b72ee8ed097 @bharat bharat committed Jan 6, 2011
@@ -27,7 +27,7 @@ static function site_menu($menu, $theme) {
->id("organize")
->label(t("Organize album"))
->css_id("g-menu-organize-link")
- ->url(url::site("organize/frame/{$item->id}")));
+ ->url(url::site("organize/dialog/{$item->id}")));
}
}
@@ -39,15 +39,15 @@ static function context_menu($menu, $theme, $item) {
->id("organize")
->label(t("Organize album"))
->css_class("ui-icon-folder-open g-organize-link")
- ->url(url::site("organize/frame/{$item->id}")));
+ ->url(url::site("organize/dialog/{$item->id}")));
} else {
$parent = $item->parent();
$menu->get("options_menu")
->append(Menu::factory("dialog")
->id("move")
->label(t("Move to another album"))
->css_class("ui-icon-folder-open g-organize-link")
- ->url(url::site("organize/frame/{$parent->id}?selected_id={$item->id}")));
+ ->url(url::site("organize/dialog/{$parent->id}?selected_id={$item->id}")));
}
}
}
Oops, something went wrong.

0 comments on commit aebcd44

Please sign in to comment.