active_scaffold_batch 3.2.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  jQuery(document).ready(function() {
2
- jQuery('.batch-create-rows a').live('ajax:beforeSend', function(event, xhr, settings) {
2
+ jQuery(document).on('ajax:beforeSend', '.batch-create-rows a', function(event, xhr, settings) {
3
3
  var num_records = jQuery(this).closest('.batch-create-rows').find('input[name=num_records]').val();
4
4
  if (num_records) settings.url += (settings.url.indexOf('?') != -1 ? '&' : '?') + 'num_records=' + num_records;
5
5
  return true;
6
6
  });
7
- jQuery('.multiple .form_record a.remove').live('click', function(event) {
7
+ jQuery(document).on('click', '.multiple .form_record a.remove', function(event) {
8
8
  event.preventDefault();
9
9
  var record = jQuery(this).closest('.form_record');
10
10
  record.prev('.form_record-errors').remove();
@@ -2,7 +2,7 @@ module ActiveScaffoldBatch
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_batch
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
- - 0
10
- version: 3.2.0
9
+ - 1
10
+ version: 3.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sergio Cambra
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-12-18 00:00:00 Z
19
+ date: 2013-02-04 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  type: :runtime
@@ -25,7 +25,7 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- hash: 864871169
28
+ hash: -429077350
29
29
  segments:
30
30
  - 3
31
31
  - 3
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  requirements: []
118
118
 
119
119
  rubyforge_project:
120
- rubygems_version: 1.8.23
120
+ rubygems_version: 1.8.24
121
121
  signing_key:
122
122
  specification_version: 3
123
123
  summary: Batch Processing for ActiveScaffold