From 2b283f4d011a7a67f306e11e590b499242a0774b Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Mon, 11 Jan 2010 13:26:10 -0800 Subject: Remove the translation submit button from translation search form. Fixes ticket #975 --- modules/gallery/controllers/l10n_client.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/gallery/controllers/l10n_client.php b/modules/gallery/controllers/l10n_client.php index 71df1cf1..d22b6299 100644 --- a/modules/gallery/controllers/l10n_client.php +++ b/modules/gallery/controllers/l10n_client.php @@ -102,10 +102,9 @@ class L10n_Client_Controller extends Controller { } private static function _l10n_client_search_form() { - $form = new Forge("l10n_client/search", "", "post", array("id" => "g-l10n-search-form")); + $form = new Forge("#", "", "post", array("id" => "g-l10n-search-form")); $group = $form->group("l10n_search"); $group->input("l10n-search")->id("g-l10n-search"); - $group->submit("l10n-search-filter-clear")->value(t("X")); return $form; } -- cgit v1.2.3