Zeile 36 | Zeile 36 |
---|
if(request) { try {
|
if(request) { try {
|
var json = $.parseJSON(request.responseText);
| var json = JSON.parse(request.responseText);
|
if(json.hasOwnProperty("errors")) { $.each(json.errors, function(i, message) {
|
if(json.hasOwnProperty("errors")) { $.each(json.errors, function(i, message) {
|
$.jGrowl(lang.buddylist_error+message);
| $.jGrowl(lang.buddylist_error + message, {theme:'jgrowl_error'});
|
}); return false; }
| }); return false; }
|
Zeile 211 | Zeile 211 |
---|
$("#sentrequests").html(request.responseText); }
|
$("#sentrequests").html(request.responseText); }
|
type_submit.removeAttr("disabled"); type_add_username.removeAttr("disabled");
| type_submit.prop("disabled", false); type_add_username.prop("disabled", false);
|
type_submit.attr("value", old_value); type_add_username.val("");
|
type_submit.attr("value", old_value); type_add_username.val("");
|
type_add_username.focus();
| type_add_username.trigger('focus');
|
type_add_username.select2('data', null); } });
| type_add_username.select2('data', null); } });
|
Zeile 234 | Zeile 234 |
---|
var message = lang.remove_buddy; }
|
var message = lang.remove_buddy; }
|
$.prompt(message, {
| MyBB.prompt(message, {
|
buttons:[ {title: yes_confirm, value: true}, {title: no_confirm, value: false}
| buttons:[ {title: yes_confirm, value: true}, {title: no_confirm, value: false}
|