Sha256: ef7ae1524ffa2699aab23f5dffd6e3f12d578e4dc8a39ae9aaa5249b20920d4d

Contents?: true

Size: 356 Bytes

Versions: 43

Compression:

Stored size: 356 Bytes

Contents

// Short-circuits `_focusTabbable` to focus on the modal itself instead of
// elements inside the modal. Without this, if a datepicker is the first input,
// it'll immediately pop up when the modal opens.
// See this ticket for more info: http://bugs.jqueryui.com/ticket/4731
$.ui.dialog.prototype._focusTabbable = function() {
  this.uiDialog.focus();
};

Version data entries

43 entries across 43 versions & 4 rubygems

Version Path
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/ext/jquery-ui.es6
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/ext/jquery-ui.es6
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/ext/jquery-ui.es6