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. --> + + + +