From db84ba524089071af9bd4ff6b4e503cf5cd5c277 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 12 Mar 2018 17:30:21 +0100 Subject: [PATCH] Fix notifications navigator jumps out sometimes on navigation --- notifications/js/notificationajaxpopup.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notifications/js/notificationajaxpopup.js b/notifications/js/notificationajaxpopup.js index 776e4b6956..420691649d 100644 --- a/notifications/js/notificationajaxpopup.js +++ b/notifications/js/notificationajaxpopup.js @@ -212,13 +212,13 @@ // Previous button $nav_prev = jQuery(document.createElement('span')) .addClass('egwpopup_nav_prev') - .attr('title',egw.lang('previous message')) + .attr('title',egw.lang('previous')) .click(jQuery.proxy(this.nav_button, this,[$message, "prev"])) .prependTo($top_toolbar); // Next button $nav_next = jQuery(document.createElement('span')) .addClass('egwpopup_nav_next') - .attr('title',egw.lang('next message')) + .attr('title',egw.lang('next')) .click(jQuery.proxy(this.nav_button, this,[$message, "next"])) .prependTo($top_toolbar); // Delete button @@ -466,7 +466,7 @@ delete (notifymessages[id]); // try to close the dialog if expanded before hidding it this.collapseMessage(_node, _event); - egwpopup_message.hide(); + egwpopup_message.remove(); this.bell("inactive"); this.counterUpdate(); };