Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 909ffb4

Browse files
committed
issue_905 -iversonLv- another solution: hide X button and click overlay to cclose the badge modal dialog
1 parent 9343e7d commit 909ffb4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/profile/badges/badges.jade

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
header.head
2-
.ngdialog-close
32
.breadcrumbs
43
.handle
54
img.profile-circle(fallback-src=require("../../../assets/images/avatarPlaceholder.png"), ng-src="{{vm.profile.photoURL}}")

app/profile/profile.controller.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ import moment from 'moment'
121121
function showBadges() {
122122
ngDialog.open({
123123
plain: true,
124+
showClose: false,
125+
closeByDocument: true,
126+
closeByEscape: true,
124127
template: require('./badges/badges')(),
125128
controller: 'BadgesController',
126129
controllerAs: 'vm',

0 commit comments

Comments
 (0)