diff options
author | Yorhel <git@yorhel.nl> | 2011-04-03 17:22:02 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-04-03 17:22:02 +0200 |
commit | 93052761c69fda87ec30c3939cae38bdcc6c92f7 (patch) | |
tree | 7c4e239c56afdf0c2083910531614dfed925d692 | |
parent | d4e2fe47e3c86692574f0c7cff17e485a73536d8 (diff) |
Bugfix: copy over search string when switching to trait search
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | data/script.js | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,7 @@ - Bugfix: removed Perl warning in Handler::Chars - Bugfix: use the 'vnlists' table to calculate stats on user page - Bugfix: allow adding/copying a char with instance field set + - Bugfix: copy over search string when switching to trait search 2.19 - 2011-03-30 - Character database: diff --git a/data/script.js b/data/script.js index 87f660a3..50bc647e 100644 --- a/data/script.js +++ b/data/script.js @@ -2825,7 +2825,7 @@ if(byId('searchtabs')) { var f = function() { var str = byId('q').value; if(str.length > 1) { - if(this.href.indexOf('/g') >= 0) + if(this.href.indexOf('/g') >= 0 || this.href.indexOf('/i') >= 0) this.href += '/list'; this.href += '?q=' + encodeURIComponent(str); } |