diff options
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(""); +} | 
