< pre class="snippet-code-js lang-js Prettyprint-override">
Код: Выделить всё
o = o("abort");
try {
r.send(i.hasContent && i.data || null)
} catch (e) {
if (o)
throw e
}
$.ajax({
type: "POST",
dataType: "json",
url: "worker.php",
data: "action=details&id=" + id + "",
error: function() {
show_notification("danger", "warning-sign", "Ajax query failed!");
},
success: function(data) {
if (data[1] == "") {
data[1] = "[i]No details available[/i]";
}
raw = data[5].split("-");
created = raw[2] + "-" + raw[1] + "-" + raw[0];
$("#" + id).append("
Details" + data[1] + "Due" + data[6] + "Created" + created + "
");
$("#detailsitem" + id).show("fast");
}
});
});Код: Выделить всё
Не удалось загрузить ресурс
Исследован и обновлен Jquery.min и все файлы
Подробнее здесь: https://stackoverflow.com/questions/790 ... ery-failed
Мобильная версия