summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-01-11 13:26:10 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-01-11 13:26:10 -0800
commit2b283f4d011a7a67f306e11e590b499242a0774b (patch)
tree4f4862594416174930025fa83a22586ec7420658
parent284e14d50e33fb6a1ef0ce00444f216fcdbeb904 (diff)
Remove the translation submit button from translation search form. Fixes ticket #975
-rw-r--r--modules/gallery/controllers/l10n_client.php3
1 files changed, 1 insertions, 2 deletions
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;
}