summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-05-07 12:15:13 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-05-07 12:15:13 (GMT)
commit52d1c2dec2939b51407d1bf6a82ad402e17b0f48 (patch)
tree7be5d702e04ce91c6da411ccd19f3910b25e4f3a
parent011620f153b6115ba3bde672ee90fce69d771a59 (diff)
parent9245b1536c4cbeb40b77791749b65e76d363c98e (diff)
downloadQt-52d1c2dec2939b51407d1bf6a82ad402e17b0f48.zip
Qt-52d1c2dec2939b51407d1bf6a82ad402e17b0f48.tar.gz
Qt-52d1c2dec2939b51407d1bf6a82ad402e17b0f48.tar.bz2
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
-rwxr-xr-xdoc/src/template/scripts/functions.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/template/scripts/functions.js b/doc/src/template/scripts/functions.js
index 306b628..108590f 100755
--- a/doc/src/template/scripts/functions.js
+++ b/doc/src/template/scripts/functions.js
@@ -48,37 +48,37 @@ function processNokiaData(response){
var linkEnd = "</a></li>";
if(propertyTags[i].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'APIPage'){
- lookupCount=0;
+ lookupCount++;
//$('.live001').css('display','block');
for (var j=0; j< propertyTags[i].getElementsByTagName('pageWords').length; j++){
full_li_element = linkStart + propertyTags[i].getElementsByTagName('pageUrl')[j].firstChild.nodeValue;
full_li_element = full_li_element + "'>" + propertyTags[i].getElementsByTagName('pageTitle')[0].firstChild.nodeValue + linkEnd;
- $('#ul001').prepend(full_li_element);
+ $('#ul001').append(full_li_element);
}
}
if(propertyTags[i].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'Article'){
- articleCount = 0;
+ articleCount++;
//$('.live002').css('display','block');
for (var j=0; j< propertyTags[i].getElementsByTagName('pageWords').length; j++){
full_li_element = linkStart + propertyTags[i].getElementsByTagName('pageUrl')[j].firstChild.nodeValue;
full_li_element =full_li_element + "'>" + propertyTags[i].getElementsByTagName('pageTitle')[0].firstChild.nodeValue + linkEnd ;
- $('#ul002').prepend(full_li_element);
+ $('#ul002').append(full_li_element);
}
}
if(propertyTags[i].getElementsByTagName('pageType')[0].firstChild.nodeValue == 'Example'){
- exampleCount = 0;
+ exampleCount++;
//$('.live003').css('display','block');
for (var j=0; j< propertyTags[i].getElementsByTagName('pageWords').length; j++){
full_li_element = linkStart + propertyTags[i].getElementsByTagName('pageUrl')[j].firstChild.nodeValue;
full_li_element =full_li_element + "'>" + propertyTags[i].getElementsByTagName('pageTitle')[0].firstChild.nodeValue + linkEnd ;
- $('#ul003').prepend(full_li_element);
+ $('#ul003').append(full_li_element);
}
}
}