conicting solving

revert-70aa11f8
kamidu 8 years ago
parent e2ee797462
commit 4bbb378d26

@ -65,7 +65,6 @@ function loadNotifications() {
function showAdvanceOperation(operation, button) { function showAdvanceOperation(operation, button) {
$(button).addClass('selected'); $(button).addClass('selected');
$(button).siblings().removeClass('selected'); $(button).siblings().removeClass('selected');
if ($(button).attr("id") == 'allNotifications') { if ($(button).attr("id") == 'allNotifications') {
$("#ast-container").html('<div class="panel-body">You do not have any unread notifications </div>'); $("#ast-container").html('<div class="panel-body">You do not have any unread notifications </div>');
} else if ($(button).attr("id") == 'unReadNotifications') { } else if ($(button).attr("id") == 'unReadNotifications') {
@ -73,7 +72,6 @@ function showAdvanceOperation(operation, button) {
} else { } else {
$("#ast-container").html('<div class="panel-body">You do not have any notifications </div>'); $("#ast-container").html('<div class="panel-body">You do not have any notifications </div>');
} }
var hiddenOperation = ".wr-hidden-operations-content > div"; var hiddenOperation = ".wr-hidden-operations-content > div";
$(hiddenOperation + '[data-operation="' + operation + '"]').show(); $(hiddenOperation + '[data-operation="' + operation + '"]').show();
$(hiddenOperation + '[data-operation="' + operation + '"]').siblings().hide(); $(hiddenOperation + '[data-operation="' + operation + '"]').siblings().hide();

Loading…
Cancel
Save