[Debtags-commits] [svn] r2104 - web/trunk
Enrico Zini
enrico at alioth.debian.org
Sun Nov 19 16:49:16 CET 2006
Author: enrico
Date: Sun Nov 19 16:49:15 2006
New Revision: 2104
Modified:
web/trunk/todo.html
Log:
Allow to choose the view, and default to nyt instead of fts
Modified: web/trunk/todo.html
==============================================================================
--- web/trunk/todo.html (original)
+++ web/trunk/todo.html Sun Nov 19 16:49:15 2006
@@ -11,7 +11,9 @@
<script src="js/debtags.js"></script>
<script type="text/javascript">
<!--
-var curpanel="fts";
+var curpanel = "nyt";
+var query = getQuery();
+if (query.view) curpanel = query.view;
function formatPackage(p, desc, tags)
{
@@ -177,8 +179,8 @@
<p>Current view:
<form name="selTagPanel">
<select name="selTagPanel" onChange="updateVisibility()">
- <option value="fts" selected="true">Full text search</option>
- <option value="nyt">Not yet tagged</option>
+ <option value="nyt" selected="true">Not yet tagged</option>
+ <option value="fts">Full text search</option>
</select></p>
</form>
@@ -203,6 +205,10 @@
<script type="text/javascript">
<!--
// Initialisation functions
+ if (curpanel == "nyt")
+ document.selTagPanel.selTagPanel.selectedIndex = 0;
+ else if (curpanel == "fts")
+ document.selTagPanel.selTagPanel.selectedIndex = 1;
updateAll();
NYTStart();
-->
More information about the Debtags-commits
mailing list