[+] BO: Add Jquery alerts for nice alert box

This commit is contained in:
rMalie
2011-12-28 14:18:20 +00:00
parent 29f8448a80
commit 490a5cff46
21 changed files with 342 additions and 49 deletions
@@ -13,7 +13,8 @@
</fieldset><br/>
<script type="text/javascript">
var ajaxQueries = new Array();
function run_sync () {
function run_sync()
{
$('#ajax_error').html('');
$('#ajax_error').hide();
$('#ajax_conf').html('');
@@ -47,8 +48,9 @@
$('#ajax_loader').html('');
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
alert("TECHNICAL ERROR: unable to sync.\n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);
error: function(XMLHttpRequest, textStatus, errorThrown)
{
jAlert("TECHNICAL ERROR: unable to sync.\n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);
}
});
ajaxQueries.push(ajaxQuery);