summaryrefslogtreecommitdiff
path: root/template/default/epgsearch_new.html
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2007-01-25 16:01:07 +0100
committerAndreas Mair <amair.sob@googlemail.com>2007-01-25 16:01:07 +0100
commit12afd457f85ae4c80446787ec2a37f5a0c30e3fb (patch)
tree6a8f1053f7191371ae8c6bec1304fbdc8decbf1f /template/default/epgsearch_new.html
parent46d2394f8ae86e9c92c2c573a1a990a97c6d33b1 (diff)
downloadvdradmin-am-3.5.3.tar.gz
vdradmin-am-3.5.3.tar.bz2
2007-01-25: 3.5.3v3.5.3
- Fixed: epgsearch's LSTT/DEFT commands need at least epgsearch v0.9.20. - Added: Klaus Schmidinger's "lste" speedup patch. - Changed: Do not send every HTTP header line in its own TCP packet (Speedup!). - Changed: Display error message if VDRAdmin-AM can't connect to VDR if index.html is requested. - Changed: Added warning in epgsearch edit if neither "title", "subtitle" nor "description" is checked. - Changed: Don't show recording commands drop-down if there are no reccmds. - Fixed: When sorting recordings by name, sort folders by name too.
Diffstat (limited to 'template/default/epgsearch_new.html')
-rw-r--r--template/default/epgsearch_new.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/template/default/epgsearch_new.html b/template/default/epgsearch_new.html
index cfc917b..2c5deae 100644
--- a/template/default/epgsearch_new.html
+++ b/template/default/epgsearch_new.html
@@ -124,15 +124,17 @@
function checkSearchPattern()
{
- if (document.getElementById("pattern").value.length > 3)
- return true;
-
- if ( !document.getElementById("use_title").checked
- && !document.getElementById("use_subtitle").checked
- && !document.getElementById("use_descr").checked)
- return true;
-
- return confirm('<?% gettext('Small search pattern.\nDo you really want to use it?') %?>');
+ if (document.getElementById("pattern").value.length <= 3)
+ {
+ return confirm('<?% gettext('Small search pattern.\nDo you really want to use it?') %?>');
+ }
+ else
+ {
+ if ( !document.getElementById("use_title").checked
+ && !document.getElementById("use_subtitle").checked
+ && !document.getElementById("use_descr").checked)
+ return confirm("<?% gettext('You didn\'t select at least one of\ntitle, subtitle or description.\nDo you really want to use this search?') %?>");
+ }
}
function hideResults()