Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-block-ui",
"description": "An AngularJS module that allows you to block user interaction on AJAX requests.",
"description": "An AngularJS module that allows you to block user interaction on AJAX requests.It can be used with angular ui bootstrap typeahead.",
"version": "0.1.0-beta.1",
"keywords": [
"angular",
Expand Down
11 changes: 10 additions & 1 deletion dist/angular-block-ui.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src/angular-block-ui/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ blkUI.factory('blockUI', function(blockUIConfig, $timeout, blockUIUtils, $docume
self._restoreFocus.focus();
self._restoreFocus = null;
}
else {
if(typeof(self._restoreFocus) != "undefined")
{
self._restoreFocus.focus();
self._restoreFocus = null;
}
}

try {
if (executeCallbacks) {
Expand Down