Skip to content

Commit

Permalink
fix(ngDialog): fix the problem with close() method without any argume…
Browse files Browse the repository at this point in the history
…nts; fixes #243
  • Loading branch information
egor-smirnov committed Jun 13, 2015
1 parent 026572e commit 55a26ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/ngDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,8 @@
if ($dialog.data('$ngDialogOptions').closeByEscape) {
privateMethods.closeDialog($dialog, value);
}
} else {
publicMethods.closeAll(value);
}
}

Expand Down

0 comments on commit 55a26ca

Please sign in to comment.