1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

File Inspector UI enhancements.

This commit is contained in:
Cameron
2020-04-01 16:32:23 -07:00
parent 4e2a7af367
commit d640ee8ccf
2 changed files with 320 additions and 154 deletions

View File

@@ -591,6 +591,7 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
// BC.
if(options.target && options.target.charAt(0) != "#" && options.target.charAt(0) != ".")
{
console.log('BC Mode: adding # to target');
options.target = "#" + options.target;
}
@@ -653,7 +654,15 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
// If result is a simple text/html.
e107.callbacks.ajaxResponseHandler($target, options, response);
}
}
},
error: function(response)
{
console.log("e-ajax Error");
console.log("e-ajax URL: "+options.url);
}
});
};