aboutsummaryrefslogtreecommitdiff
path: root/web/public
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2012-01-25 15:29:37 +0100
committerJochen Topf <jochen@topf.org>2012-01-25 15:29:37 +0100
commit5d86569a0f9626c6357770c684f5497f94d1c969 (patch)
treeb2c68674e9c742ab5de9438e3b0dfa7e5d069212 /web/public
parent24098767e33d686dc93139d1f7404291e203d8e8 (diff)
downloadtaginfo-5d86569a0f9626c6357770c684f5497f94d1c969.tar
taginfo-5d86569a0f9626c6357770c684f5497f94d1c969.tar.gz
Tooltip on table search box
Diffstat (limited to 'web/public')
-rw-r--r--web/public/js/flexigrid.js2
-rw-r--r--web/public/js/taginfo.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/web/public/js/flexigrid.js b/web/public/js/flexigrid.js
index aea03a8..6a6839d 100644
--- a/web/public/js/flexigrid.js
+++ b/web/public/js/flexigrid.js
@@ -1253,7 +1253,7 @@
if (p.qtype=='') p.qtype = sitems[0].name;
- $(g.sDiv).append("<div class='btnseparator'></div> <div class='sDiv2'>"/*+p.findtext*/+" <input type='text' size='20' name='q' class='qsbox' />"); // <select name='qtype'>"+sopt+"</select> <!--input type='button' value='Clear' /--></div>");
+ $(g.sDiv).append("<div class='btnseparator'></div> <div class='sDiv2'>"/*+p.findtext*/+" <input title='" + texts.misc.search_for + ': ' + sitems[0].display + "' type='text' size='20' name='q' class='qsbox' />"); // <select name='qtype'>"+sopt+"</select> <!--input type='button' value='Clear' /--></div>");
$('input[name=q],select[name=qtype]',g.sDiv).keydown(function(e){if(e.keyCode==13) g.doSearch()});
$('input[value=Clear]',g.sDiv).click(function(){$('input[name=q]',g.sDiv).val(''); p.query = ''; g.doSearch(); });
diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js
index f68f51f..1e46164 100644
--- a/web/public/js/taginfo.js
+++ b/web/public/js/taginfo.js
@@ -314,6 +314,7 @@ function create_flexigrid(domid, options) {
var rp = calculate_flexigrid_rp(me.parents('.resize,.ui-tabs-panel'));
grids[domid] = me.flexigrid(jQuery.extend({}, flexigrid_defaults, texts.flexigrid, options, { rp: rp }));
jQuery('th *[title]').tipsy({ opacity: 1, delayIn: 500, gravity: 's' });
+ jQuery('.sDiv input[title]').tipsy({ opacity: 1, delayIn: 500, gravity: 'e' });
} else {
// grid does exist, make sure it has the right size
var grid = grids[domid][0].grid;