VRFS-410 fix issue with concurrent app notifications
This commit is contained in:
parent
ce36a6cb6a
commit
2297380b9d
|
|
@ -568,11 +568,11 @@
|
|||
|
||||
$notify.slideDown(2000).delay(2000).slideUp(2000, function() {
|
||||
// reset data
|
||||
$('h2', $notify).text('');
|
||||
$('p', $notify).text('');
|
||||
$('div.detail', $notify).html('');
|
||||
$('#avatar', $notify).attr('src', '');
|
||||
$('#avatar', $notify).hide();
|
||||
// $('h2', $notify).text('');
|
||||
// $('p', $notify).text('');
|
||||
// $('div.detail', $notify).html('');
|
||||
// $('#avatar', $notify).attr('src', '');
|
||||
// $('#avatar', $notify).hide();
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,15 @@
|
|||
|
||||
function initializeFriendsPanel() {
|
||||
|
||||
// THIS IS TEST CODE TO GENERATE BACK TO BACK NOTIFICATIONS
|
||||
// for (var x=0; x < 3; x++) {
|
||||
// app.notify({
|
||||
// "title": "Friend is now online",
|
||||
// "text": "Test",
|
||||
// "icon_url": context.JK.resolveAvatarUrl("")
|
||||
// });
|
||||
// }
|
||||
|
||||
$('#sidebar-search-header').hide();
|
||||
|
||||
var url = "/api/users/" + context.JK.currentUserId + "/friends"
|
||||
|
|
|
|||
Loading…
Reference in New Issue