From 96b82d97a8cfc52e2479538f4e6df5b39a767797 Mon Sep 17 00:00:00 2001 From: ZachTRice Date: Thu, 6 Jul 2017 12:30:54 -0400 Subject: [PATCH] Added perfect scrollbar to jquery dialog. Removed draggable & resizable --- web/js/layers/wv.layers.info.js | 3 +++ web/js/layers/wv.layers.options.js | 2 ++ 2 files changed, 5 insertions(+) diff --git a/web/js/layers/wv.layers.info.js b/web/js/layers/wv.layers.info.js index 9d3e04a979..9140401580 100644 --- a/web/js/layers/wv.layers.info.js +++ b/web/js/layers/wv.layers.info.js @@ -37,6 +37,8 @@ wv.layers.info = wv.layers.info || function(config, models, layer) { show: { effect: "slide", direction: "left" }, width: 450, height: 300, + resizable: false, + draggable: false, position: { my: "left top", at: "right+5 top", @@ -50,6 +52,7 @@ wv.layers.info = wv.layers.info || function(config, models, layer) { }, close: dispose }); + $("#wv-layers-info-dialog").perfectScrollbar(); }; var dispose = function() { diff --git a/web/js/layers/wv.layers.options.js b/web/js/layers/wv.layers.options.js index d9baf3519b..ff03f4f260 100644 --- a/web/js/layers/wv.layers.options.js +++ b/web/js/layers/wv.layers.options.js @@ -67,6 +67,8 @@ wv.layers.options = wv.layers.options || function(config, models, layer) { show: { effect: "slide", direction: "left" }, width: 300, height: "auto", + resizable: false, + draggable: false, position: { my: "left top", at: "right+5 top",