summaryrefslogtreecommitdiffstats
path: root/funcweb
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2008-01-18 00:16:48 -0500
committerLuke Macken <lmacken@redhat.com>2008-01-18 00:16:48 -0500
commitfe0910aa35052112cae8d445c045373e02ce8f73 (patch)
tree0c21387573fe4115ef184cbbf3351eaf19e182ca /funcweb
parentd1b2d87114bc4a34231d8b1942de97298172c873 (diff)
downloadthird_party-func-fe0910aa35052112cae8d445c045373e02ce8f73.tar.gz
third_party-func-fe0910aa35052112cae8d445c045373e02ce8f73.tar.xz
third_party-func-fe0910aa35052112cae8d445c045373e02ce8f73.zip
empty() our old columns instead of just hide()'ing them
Diffstat (limited to 'funcweb')
-rw-r--r--funcweb/funcweb/templates/minion.html2
-rw-r--r--funcweb/funcweb/templates/minions.html2
-rw-r--r--funcweb/funcweb/templates/module.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/funcweb/funcweb/templates/minion.html b/funcweb/funcweb/templates/minion.html
index 2223d57..37c6d47 100644
--- a/funcweb/funcweb/templates/minion.html
+++ b/funcweb/funcweb/templates/minion.html
@@ -7,7 +7,7 @@
<ul py:for="minion, mods in modules.items()">
<h2>${minion}</h2>
<li py:for="module in mods">
- <a href="#" onclick="$('#col4').hide();$('#col3').hide().load('/minion/${minion}/${module}').show('slow');">${module}</a>
+ <a href="#" onclick="$('#col4').empty();$('#col3').empty().load('/minion/${minion}/${module}').show('slow');">${module}</a>
</li>
</ul>
</div>
diff --git a/funcweb/funcweb/templates/minions.html b/funcweb/funcweb/templates/minions.html
index f303a43..6892149 100644
--- a/funcweb/funcweb/templates/minions.html
+++ b/funcweb/funcweb/templates/minions.html
@@ -10,7 +10,7 @@
<ul>
<li><h2>minions</h2></li>
<li py:for="minion in minions.keys()">
- <a onclick="$('#col3').hide();$('#col4').hide();$('#col2').hide().load('/minion/${minion}').show('slow');" href="#">${minion}</a>
+ <a onclick="$('#col3').empty();$('#col4').empty();$('#col2').empty().load('/minion/${minion}').show('slow');" href="#">${minion}</a>
</li>
</ul>
</div>
diff --git a/funcweb/funcweb/templates/module.html b/funcweb/funcweb/templates/module.html
index 2d433f6..2e63295 100644
--- a/funcweb/funcweb/templates/module.html
+++ b/funcweb/funcweb/templates/module.html
@@ -7,7 +7,7 @@
<ul py:for="minion, methods in modules.items()">
<h2>${module}</h2>
<li py:for="method in methods">
- <a href="#" onclick="$('#col4').hide().load('/minion/${minion}/${module}/${method}').show('slow')">${method}</a>
+ <a href="#" onclick="$('#col4').empty().load('/minion/${minion}/${module}/${method}').show('slow')">${method}</a>
</li>
</ul>
</div>