diff options
Diffstat (limited to 'ishtar/templates/sheet.html')
| -rw-r--r-- | ishtar/templates/sheet.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ishtar/templates/sheet.html b/ishtar/templates/sheet.html index c157b61a0..8da56345c 100644 --- a/ishtar/templates/sheet.html +++ b/ishtar/templates/sheet.html @@ -12,8 +12,13 @@ </head> <body> {% endblock %} -<div class="sheet"> -<div class="head"><a href='#' onclick='$("#window").hide("slow")'>{% trans "Close" %}</a></div> +<div class="sheet" id='{{window_id}}'> +<script type="text/javascript">var last_window='{{window_id}}';</script> +<div class="head"> +<a href='#' onclick='$("#{{window_id}}").hide("slow")'>{% trans "Close" %}</a> - +<a href='#' onclick='$("#window > div").hide("slow");$("#window").html("")'> +{% trans "Close all windows" %} +</a></div> <div class="body"> {% block content %}{% endblock %} </div> |
