diff options
author | Go MAEDA <maeda@farend.jp> | 2019-08-13 14:23:46 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-08-13 14:23:46 +0000 |
commit | e2a00d2dc81213d1d7f546a7cc3093f362f1a9df (patch) | |
tree | 966b156dbc959861fd9c5b4622b4454e2c05aebb /app/views/issues | |
parent | 49090c58897bd495796ffc11abca6dc3e1d59719 (diff) | |
download | redmine-e2a00d2dc81213d1d7f546a7cc3093f362f1a9df.tar.gz redmine-e2a00d2dc81213d1d7f546a7cc3093f362f1a9df.zip |
Fix JQMIGRATE: jQuery.fn.load() is deprecated (#31884, #31196).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18364 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/bulk_edit.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/bulk_edit.html.erb b/app/views/issues/bulk_edit.html.erb index 1298f0365..468bee148 100644 --- a/app/views/issues/bulk_edit.html.erb +++ b/app/views/issues/bulk_edit.html.erb @@ -208,7 +208,7 @@ <% if @values_by_custom_field.present? %> <div class="flash warning"> - <%= l(:warning_fields_cleared_on_bulk_edit) %>:<br /> + <%= l(:warning_fields_cleared_on_bulk_edit) %>:<br /> <%= safe_join(@values_by_custom_field.map {|field, ids| content_tag "span", "#{field.name} (#{ids.size})"}, ', ') %> </div> <% end %> @@ -229,7 +229,7 @@ <% end %> <%= javascript_tag do %> -$(window).load(function(){ +$(window).on('load', function(){ $(document).on('change', 'input[data-disables]', function(){ if ($(this).prop('checked')){ $($(this).data('disables')).attr('disabled', true).val(''); |