From a3042404549888903a350d1009f6d76c91d7b011 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 21 Nov 2010 13:45:37 +0300 Subject: [PATCH] fix search form controls when sphinx is disabled --- modules/popup-dialog.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 5d225da5..0fc9cf9b 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -387,8 +387,9 @@ if (!SPHINX_ENABLE) { - print ""; + print ""; print " " . __('match on')." "; @@ -397,7 +398,8 @@ "content" => __("Content"), "both" => __("Title or content")); - print_select_hash("match_on", 3, $search_fields); + print_select_hash("match_on", 3, $search_fields, + 'dojoType="dijit.form.Select"'); } else { print "