From cda4c438a2217b52cb5a1e8eff3246227398658f Mon Sep 17 00:00:00 2001 From: fnuesse Date: Sat, 18 May 2019 22:15:10 +0200 Subject: updated incoming share modal to new style and fixed bugs regarding dialogs Signed-off-by: fnuesse --- js/app/controllers/credential.js | 5 +++-- js/app/directives/iconpicker.js | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'js/app') diff --git a/js/app/controllers/credential.js b/js/app/controllers/credential.js index 0dc3f4b1..037bfd02 100644 --- a/js/app/controllers/credential.js +++ b/js/app/controllers/credential.js @@ -127,8 +127,9 @@ if (shareRequests.length > 0) { $scope.incoming_share_requests = shareRequests; jQuery('.share_popup').dialog({ - width: 600, - position: ['center', 90] + width: 800, + modal: true, + dialogClass: 'shareincoming-dialog' }); } }); diff --git a/js/app/directives/iconpicker.js b/js/app/directives/iconpicker.js index dda10fdb..2cc60594 100644 --- a/js/app/directives/iconpicker.js +++ b/js/app/directives/iconpicker.js @@ -152,6 +152,7 @@ $('#iconPicker').dialog({ width: 800, height: 380, + modal: true, dialogClass: 'iconpicker-dialog', close: function() { $(this).dialog('destroy'); -- cgit v1.2.3