[Debtags-commits] [svn] r2015 - web/trunk/cloud
Erich Schubert
erich at costa.debian.org
Fri Oct 6 01:28:51 UTC 2006
Author: erich
Date: Fri Oct 6 01:28:50 2006
New Revision: 2015
Modified:
web/trunk/cloud/index.html
Log:
small fixes
Modified: web/trunk/cloud/index.html
==============================================================================
--- web/trunk/cloud/index.html (original)
+++ web/trunk/cloud/index.html Fri Oct 6 01:28:50 2006
@@ -60,7 +60,7 @@
var found = false;
for (var i=0; i<selectedtags.length; i++) {
if (selectedtags[i] != this.name) {
- newtags.push(selectedtags);
+ newtags.push(selectedtags[i]);
} else found = true;
}
if (!found) { window.alert("Tag not found: "+this.name); }
@@ -185,7 +185,9 @@
var packages = document.getElementById("packages");
var seltags = document.getElementById("tags");
// prepare data
- tf = data.tags.concat(data.facets);
+ tf = data.tags;
+ if (data.facets)
+ tf = tf.concat(data.facets);
tf.sort(alphasort);
tags = { tags: folddata(tf) };
showPackages( packages, data.packages );
More information about the Debtags-commits
mailing list