Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

hemamaps / django-import-export   python

Repository URL to install this package:

Version: 0.4.5 

/ static / import_export / action_formats.js

(function($) {
  $(document).on('ready', function() {
    $('select[name="action"]', '#changelist-form').on('change', function() {
      if ($(this).val() == 'export_admin_action') {
        $('select[name="file_format"]', '#changelist-form').parent().show();
      } else {
        $('select[name="file_format"]', '#changelist-form').parent().hide();
      }
    });
    $('select[name="action"]', '#changelist-form').change();
  });
})(django.jQuery);