Unverified Commit 20154a76 by Michael Terry Committed by GitHub

Merge pull request #16641 from mikix/mikix/button-a11y

Fix focus loss when bookmarking a page in IE
parents b6d9dfb2 96c737d1
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
}, },
complete: function() { complete: function() {
view.$el.prop('disabled', false); view.$el.prop('disabled', false);
view.$el.focus();
} }
}); });
}, },
...@@ -78,6 +79,7 @@ ...@@ -78,6 +79,7 @@
}, },
complete: function() { complete: function() {
view.$el.prop('disabled', false); view.$el.prop('disabled', false);
view.$el.focus();
} }
}); });
}, },
...@@ -105,7 +107,7 @@ ...@@ -105,7 +107,7 @@
} }
this.messageView.showMessage(errorMsg); this.messageView.showMessage(errorMsg);
// Hide message automatically after some interval // Hide message automatically after some interval
setTimeout(_.bind(function() { setTimeout(_.bind(function() {
this.messageView.hideMessage(); this.messageView.hideMessage();
}, this), this.showBannerInterval); }, this), this.showBannerInterval);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment