diff options
| author | Andreas Brachold <vdr07@deltab.de> | 2008-01-13 12:51:22 +0000 |
|---|---|---|
| committer | Andreas Brachold <vdr07@deltab.de> | 2008-01-13 12:51:22 +0000 |
| commit | e9d8133b5d78e4021acfb9b040cdc274e94b7fbc (patch) | |
| tree | be84aa4b605dc57dbfbc719f4053fb1a7b9516e5 /skins/xstyle/javascript | |
| parent | a56ba431ded17e508543542fbf5ff87c0ef42ff6 (diff) | |
| download | xxv-e9d8133b5d78e4021acfb9b040cdc274e94b7fbc.tar.gz xxv-e9d8133b5d78e4021acfb9b040cdc274e94b7fbc.tar.bz2 | |
* Update translations
* RECORDS: use File::stat
* MOVETIMER: Add redirect if move timer updated
* TIMER: tnew with fast=1 create timer from event, without prompt
* Skins/search: program timer from selected events by joined list
* Skins/redirect: close frame automated after 3 seconds
* xstyle: Fix searchbox+cancel => call command <undef>
Diffstat (limited to 'skins/xstyle/javascript')
| -rw-r--r-- | skins/xstyle/javascript/global.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/skins/xstyle/javascript/global.js b/skins/xstyle/javascript/global.js index 9d69317..87f8741 100644 --- a/skins/xstyle/javascript/global.js +++ b/skins/xstyle/javascript/global.js @@ -172,11 +172,12 @@ function checkValue (valobj, msgname, cmd, wrongMsg, goodMsg) { function suche(question, urls, def, last) { var sstring = prompt(question, def); + if(!sstring || sstring.length <= 0 ) { + return + } if(! urls) urls = "?cmd=search&data="; - if(sstring) { - var url = urls + sstring; - } + var url = urls + sstring; if(last) { url = url + last; } |
