diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-04-12 19:19:54 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-04-12 19:19:54 +0200 |
commit | 9bf6fb03580a6a277502ca68738f84af7675445f (patch) | |
tree | c1fba513ad10b3758a49cdbfd2989fb44012f031 /static | |
parent | 210c91c1cb05f74c574f4fd28e23e5f1622afaa2 (diff) | |
download | Ishtar-9bf6fb03580a6a277502ca68738f84af7675445f.tar.bz2 Ishtar-9bf6fb03580a6a277502ca68738f84af7675445f.zip |
Add a rollback button (closes #349)
Diffstat (limited to 'static')
-rw-r--r-- | static/js/ishtar.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/static/js/ishtar.js b/static/js/ishtar.js index f345cf030..534670cba 100644 --- a/static/js/ishtar.js +++ b/static/js/ishtar.js @@ -60,6 +60,16 @@ function load_window(url, speed){ }); } +function load_url(url){ + $.ajax({ + url: url, + cache: false, + success:function(html){}, + error:function(XMLHttpRequest, textStatus, errorThrows){ + } + }); +} + function open_window(url){ var newwindow = window.open(url, 'Ishtar', 'height=400,width=550,scrollbars=yes'); @@ -83,3 +93,8 @@ function multiRemoveItem(selItems, name, idx){ } jQuery("#selected_"+name+"_"+idx).remove(); } + +function closeAllWindows(){ + jQuery("#window > div").hide("slow"); + jQuery("#window").html(""); +} |