Commit 5bec4eda by Chif Gergő

Fix input field focus bug

Remove an event handler which added from Bootsrap to the document, when a modal dialog shown.
parent e8684154
...@@ -41,6 +41,10 @@ $(function() { ...@@ -41,6 +41,10 @@ $(function() {
$('#confirmation-modal').on('hidden.bs.modal', function() { $('#confirmation-modal').on('hidden.bs.modal', function() {
$('#confirmation-modal').remove(); $('#confirmation-modal').remove();
}); });
$('#confirmation-modal').on('shown.bs.modal', function() {
$(document).off('focusin.modal');
});
$('#vm-migrate-node-list li input:checked').closest('li').addClass('panel-primary'); $('#vm-migrate-node-list li input:checked').closest('li').addClass('panel-primary');
} }
}); });
...@@ -237,4 +241,3 @@ String.prototype.hashCode = function() { ...@@ -237,4 +241,3 @@ String.prototype.hashCode = function() {
} }
return hash; return hash;
}; };
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 sign in to comment