Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
fix(dialogs): clicking outside of a dialog will not close it anymore
Browse files Browse the repository at this point in the history
closes #81
  • Loading branch information
seiyria committed Oct 30, 2015
1 parent 9f23e41 commit 01ee672
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/js/controllers/tournaments/inProgressCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ site.controller('inProgressController', ($scope, $timeout, EnsureLoggedIn, Sideb

$scope.showResults = (event) => {
const mdDialogOptions = {
clickOutsideToClose: true,
controller: 'resultsDialogController',
focusOnOpen: false,
templateUrl: '/dialog/results',
Expand Down
1 change: 0 additions & 1 deletion src/js/services/managers/eventManagement.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import site from '../../app';
site.service('EventManagement', (FirebaseURL, $mdDialog, Toaster, $filter, FilterUtils) => {

const defaultMdDialogOptions = {
clickOutsideToClose: true,
controller: 'eventDialogController',
focusOnOpen: false,
templateUrl: '/dialog/addevent'
Expand Down
1 change: 0 additions & 1 deletion src/js/services/managers/tournamentManagement.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import site from '../../app';
site.service('TournamentManagement', (FirebaseURL, $mdDialog, Toaster, $filter, FilterUtils, CurrentEvents) => {

const defaultMdDialogOptions = {
clickOutsideToClose: true,
controller: 'tournamentDialogController',
focusOnOpen: false,
templateUrl: '/dialog/addtournament'
Expand Down
1 change: 0 additions & 1 deletion src/js/services/managers/userManagement.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import site from '../../app';
site.service('UserManagement', (FirebaseURL, $mdDialog, Toaster, FilterUtils) => {

const defaultMdDialogOptions = {
clickOutsideToClose: true,
controller: 'userDialogController',
focusOnOpen: false,
templateUrl: '/dialog/adduser'
Expand Down
1 change: 0 additions & 1 deletion src/js/services/prompts/inputPrompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ site.service('InputPrompt', ($mdDialog) => {

const mdDialogOptions = {
event, locals,
clickOutsideToClose: true,
controller: 'inputPromptController',
focusOnOpen: false,
templateUrl: '/dialog/input-prompt'
Expand Down
1 change: 0 additions & 1 deletion src/js/services/prompts/selectPrompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ site.service('SelectPrompt', ($mdDialog) => {

const mdDialogOptions = {
event, locals,
clickOutsideToClose: true,
controller: 'selectPromptController',
focusOnOpen: false,
templateUrl: '/dialog/select-prompt'
Expand Down
1 change: 0 additions & 1 deletion src/js/services/prompts/sharePrompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ site.service('SharePrompt', ($mdDialog) => {

const mdDialogOptions = {
event, locals,
clickOutsideToClose: true,
controller: 'sharePromptController',
focusOnOpen: false,
templateUrl: '/dialog/share-prompt'
Expand Down

0 comments on commit 01ee672

Please sign in to comment.