summaryrefslogtreecommitdiffabout
path: root/content
authorMichael Krelin <hacker@klever.net>2006-10-01 20:31:31 (UTC)
committer Michael Krelin <hacker@klever.net>2006-10-01 20:31:31 (UTC)
commitd9372f72e080857d52ef7e60b99d95b3b3cb6ad3 (patch) (side-by-side diff)
treeb54d61a4c39c6182da8a5c76e0e9b8c44958903e /content
parentfa83ec27570f4d397aefeaa11e1f74b49b8d9402 (diff)
downloadfireflix-d9372f72e080857d52ef7e60b99d95b3b3cb6ad3.zip
fireflix-d9372f72e080857d52ef7e60b99d95b3b3cb6ad3.tar.gz
fireflix-d9372f72e080857d52ef7e60b99d95b3b3cb6ad3.tar.bz2
scroll newly obtained search results to the top
git-svn-id: http://svn.klever.net/kin/fireflix/trunk@174 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (limited to 'content') (more/less context) (show whitespace changes)
-rw-r--r--content/fireflix.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/fireflix.js b/content/fireflix.js
index 6681303..0f01d26 100644
--- a/content/fireflix.js
+++ b/content/fireflix.js
@@ -739,24 +739,25 @@ var fireflix = {
pars.tags=this.search_for.value.split(/ +/).join(',');
}else{
pars.text=this.search_for.value;
}
var _this = this;
this.fireflix.flickr.api_call( pars,
function(xr) {
var x = xr.responseXML;
var xp = x.evaluate(
'/rsp/photos/photo', x, null,
XPathResult.ORDERED_NODE_ITERATOR_TYPE, null );
_this.importXPR(xp);
+ _this.tree.ensureRowIsVisible(0);
_this.on_select();
}, function(x,s,c,m) {
_this.fireflix.flickr_failure(x,s,c,m);
}
);
},
render_description_frame: function(content) {
if(!content) {
this.searchresult_description.innerHTML = '';
}else{
this.searchresult_description.innerHTML = content?content:'';
/* of all linking elements flickr only allows a */