Return-Path: X-Original-To: apmail-syncope-commits-archive@www.apache.org Delivered-To: apmail-syncope-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95C7318BAD for ; Fri, 4 Mar 2016 11:01:39 +0000 (UTC) Received: (qmail 59381 invoked by uid 500); 4 Mar 2016 11:01:39 -0000 Delivered-To: apmail-syncope-commits-archive@syncope.apache.org Received: (qmail 59346 invoked by uid 500); 4 Mar 2016 11:01:39 -0000 Mailing-List: contact commits-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list commits@syncope.apache.org Received: (qmail 59335 invoked by uid 99); 4 Mar 2016 11:01:39 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2016 11:01:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E06BCDFC3D; Fri, 4 Mar 2016 11:01:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: mdisabatino@apache.org To: commits@syncope.apache.org Message-Id: <5eab65b4fe9d435c94455dece6dca39e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: syncope git commit: [SYNCOPE-156] NotificationPanel doesn't appear if page is long and contains a scrollbar Date: Fri, 4 Mar 2016 11:01:38 +0000 (UTC) Repository: syncope Updated Branches: refs/heads/master b38650de0 -> 3826d0238 [SYNCOPE-156] NotificationPanel doesn't appear if page is long and contains a scrollbar Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/3826d023 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/3826d023 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/3826d023 Branch: refs/heads/master Commit: 3826d02383f8855e46880f4ad54979584d9474d3 Parents: b38650d Author: Marco Di Sabatino Di Diodoro Authored: Fri Mar 4 11:56:01 2016 +0100 Committer: Marco Di Sabatino Di Diodoro Committed: Fri Mar 4 11:56:01 2016 +0100 ---------------------------------------------------------------------- .../console/panels/NotificationPanel.java | 3 ++- .../console/panels/NotificationPanel.html | 24 +++++++++++++++----- 2 files changed, 20 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/syncope/blob/3826d023/client/console/src/main/java/org/apache/syncope/client/console/panels/NotificationPanel.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/NotificationPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/NotificationPanel.java index f405a5e..b113195 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/panels/NotificationPanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/NotificationPanel.java @@ -41,7 +41,8 @@ public class NotificationPanel extends Panel implements IFeedback, IGenericCompo super(id); final Options options = new Options(); - options.set("position", "{ pinned: true }"); + options.set("appendTo", "'#appendto'"); + options.set("stacking", "'up'"); options.set("templates", "[ { type: 'success', template: $('#successTemplate').html() }," + " { type: 'info', template: $('#successTemplate').html() }," http://git-wip-us.apache.org/repos/asf/syncope/blob/3826d023/client/console/src/main/resources/org/apache/syncope/client/console/panels/NotificationPanel.html ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/panels/NotificationPanel.html b/client/console/src/main/resources/org/apache/syncope/client/console/panels/NotificationPanel.html index 1b3aefc..2870588 100644 --- a/client/console/src/main/resources/org/apache/syncope/client/console/panels/NotificationPanel.html +++ b/client/console/src/main/resources/org/apache/syncope/client/console/panels/NotificationPanel.html @@ -17,23 +17,35 @@ specific language governing permissions and limitations under the License. --> + + + +