"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/jscripts/usercp.js" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

usercp.js  (mybb_1822):usercp.js  (mybb_1823)
skipping to change at line 202 skipping to change at line 202
{ {
type_submit.attr("value", lang.adding_buddy); type_submit.attr("value", lang.adding_buddy);
var list = "buddy"; var list = "buddy";
} }
$.ajax( $.ajax(
{ {
type: 'post', type: 'post',
url: 'usercp.php?action=do_editlists&my_post_key='+my_pos t_key+'&manage='+type, url: 'usercp.php?action=do_editlists&my_post_key='+my_pos t_key+'&manage='+type,
data: { ajax: 1, add_username: type_add_username.val() }, data: { ajax: 1, add_username: type_add_username.val() },
async: false, async: true,
complete: function (request) complete: function (request)
{ {
if(request.responseText.indexOf("buddy_count") >= 0 || request.responseText.indexOf("ignored_count") >= 0) if(request.responseText.indexOf("buddy_count") >= 0 || request.responseText.indexOf("ignored_count") >= 0)
{ {
$("#"+list+"_list").html(request.respons eText); $("#"+list+"_list").html(request.respons eText);
} }
else else
{ {
$("#sentrequests").html(request.responseT ext); $("#sentrequests").html(request.responseT ext);
} }
skipping to change at line 250 skipping to change at line 250
{title: no_confirm, value: false} {title: no_confirm, value: false}
], ],
submit: function(e,v,m,f){ submit: function(e,v,m,f){
if(v == true) if(v == true)
{ {
$.ajax( $.ajax(
{ {
type: 'post', type: 'post',
url: 'usercp.php?action=do_editli sts&my_post_key='+my_post_key+'&manage='+type+'&delete='+uid, url: 'usercp.php?action=do_editli sts&my_post_key='+my_post_key+'&manage='+type+'&delete='+uid,
data: { ajax: 1 }, data: { ajax: 1 },
async: false async: true
}); });
} }
} }
}); });
return false; return false;
} }
}; };
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)