diff options
author | Luke Macken <lmacken@redhat.com> | 2008-01-18 00:16:48 -0500 |
---|---|---|
committer | Luke Macken <lmacken@redhat.com> | 2008-01-18 00:16:48 -0500 |
commit | fe0910aa35052112cae8d445c045373e02ce8f73 (patch) | |
tree | 0c21387573fe4115ef184cbbf3351eaf19e182ca /funcweb/funcweb/templates | |
parent | d1b2d87114bc4a34231d8b1942de97298172c873 (diff) | |
download | func-fe0910aa35052112cae8d445c045373e02ce8f73.tar.gz func-fe0910aa35052112cae8d445c045373e02ce8f73.tar.xz func-fe0910aa35052112cae8d445c045373e02ce8f73.zip |
empty() our old columns instead of just hide()'ing them
Diffstat (limited to 'funcweb/funcweb/templates')
-rw-r--r-- | funcweb/funcweb/templates/minion.html | 2 | ||||
-rw-r--r-- | funcweb/funcweb/templates/minions.html | 2 | ||||
-rw-r--r-- | funcweb/funcweb/templates/module.html | 2 |
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> |