diff --git a/htdocs/js/window.js b/htdocs/js/window.js
index ffc308c3..4222ed1f 100644
--- a/htdocs/js/window.js
+++ b/htdocs/js/window.js
@@ -29,7 +29,7 @@ Window.prototype = {
onSuccess: function(transport) {
var json = transport.responseText.evalJSON(true);
var liT = new Template("
+ #{file_name}");
+ +"onFailure:function(transport){ alert('There was an error.');}, parameters:'uuid=#{meta_uuid}&subpath=#{file_name}'}); return false;\">#{file_name}");
var liTemplate = new Template("#{file_name}");
var lis = "";
if(json.length == 0){
@@ -102,8 +102,12 @@ Window.prototype = {
}
}
function showSubPath(id,json){
- var liT = new Template("+ #{file_name}");
+ var liT = new Template("+
+ #{file_name}");
var liTemplate = new Template("#{file_name}");
var lis = "";
if(json.length == 0){