|
|
@ -565,7 +565,7 @@ $.fn.modal = function(parameters) { |
|
|
|
set: { |
|
|
|
autofocus: function() { |
|
|
|
var |
|
|
|
$inputs = $module.fin(':input').filter(':visible'), |
|
|
|
$inputs = $module.find(':input').filter(':visible'), |
|
|
|
$autofocus = $inputs.filter('[autofocus]'), |
|
|
|
$input = ($autofocus.length > 0) |
|
|
|
? $autofocus.first() |
|
|
|