summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/js/ishtar.js6
-rw-r--r--static/media/style.css6
2 files changed, 5 insertions, 7 deletions
diff --git a/static/js/ishtar.js b/static/js/ishtar.js
index 7dc1be345..784480f81 100644
--- a/static/js/ishtar.js
+++ b/static/js/ishtar.js
@@ -45,13 +45,15 @@ $("#main_menu ul li").live('click', function(){
$(this).find('ul').show('slow');
});
+var last_window;
+
function load_window(url){
$.ajax({
url: url,
cache: false,
success:function(html){
- $("#window").html(html);
- $("#window").show('slow');
+ $("#window").append(html);
+ $("#"+last_window).show('slow');
},
error:function(XMLHttpRequest, textStatus, errorThrows){
}
diff --git a/static/media/style.css b/static/media/style.css
index 8aa4ead48..7868a4671 100644
--- a/static/media/style.css
+++ b/static/media/style.css
@@ -249,7 +249,7 @@ table.confirm tr.spacer td:last-child{
color:#D14;
}
-#window{
+.sheet{
width:760px;
position:fixed;
height:90%;
@@ -299,10 +299,6 @@ table.confirm tr.spacer td:last-child{
font-style:italic;
}
-#window .sheet{
-}
-
-
#window .head{
text-align:center;
background-color:#EEE;