Skip to content

Commit

Permalink
now accepting the used_dummy_plugins boolean when submitting/updating…
Browse files Browse the repository at this point in the history
… a mod's analysis
  • Loading branch information
matortheeternal committed Jan 9, 2017
1 parent 07c153b commit f024a5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mod-picker/app/assets/javascripts/BackendAPI/modService.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,13 @@ app.service('modService', function(backend, $q, pageUtils, objectUtils, contribu
author: plugin.author,
filename: plugin.filename,
is_esm: plugin.is_esm,
used_dummy_plugins: plugin.used_dummy_plugins,
crc_hash: plugin.crc_hash,
description: plugin.description,
file_size: plugin.file_size,
record_count: plugin.record_count,
override_count: plugin.override_count,
master_plugins: plugin.master_plugins,
dummy_masters: plugin.dummy_masters,
overrides_attributes: plugin.overrides_attributes,
plugin_errors_attributes: plugin.plugin_errors_attributes,
plugin_record_groups_attributes: plugin.plugin_record_groups_attributes
Expand Down
4 changes: 2 additions & 2 deletions mod-picker/app/controllers/mods_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def mod_params
tag_names: [],
mod_options_attributes: [:name, :display_name, :size, :md5_hash, :default, :is_installer_option,
asset_paths: [],
plugin_dumps: [:filename, :is_esm, :author, :description, :crc_hash, :record_count, :override_count, :file_size,
plugin_dumps: [:filename, :is_esm, :used_dummy_plugins, :author, :description, :crc_hash, :record_count, :override_count, :file_size,
master_plugins: [:filename, :crc_hash],
plugin_record_groups_attributes: [:sig, :record_count, :override_count],
plugin_errors_attributes: [:signature, :form_id, :group, :path, :name, :data],
Expand All @@ -391,7 +391,7 @@ def mod_update_params
tag_names: [],
mod_options_attributes: [:id, :name, :display_name, :size, :md5_hash, :default, :is_installer_option, :_destroy,
asset_paths: [],
plugin_dumps: [:id, :filename, :is_esm, :author, :description, :crc_hash, :record_count, :override_count, :file_size, :_destroy,
plugin_dumps: [:id, :filename, :is_esm, :used_dummy_plugins, :author, :description, :crc_hash, :record_count, :override_count, :file_size, :_destroy,
master_plugins: [:filename, :crc_hash],
plugin_record_groups_attributes: [:sig, :record_count, :override_count],
plugin_errors_attributes: [:signature, :form_id, :group, :path, :name, :data],
Expand Down

0 comments on commit f024a5c

Please sign in to comment.