jqr-helpers 1.0.64 → 1.0.65

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmVjMDIxZGU2OTY0Mjc4ZGQwZDc5MWU1ZGY1NDkyNDM3YTdhOTdmZQ==
4
+ Yzg1NDVjNDkyODFiM2MxZjYwMmY2NWE3Y2Q0NzA3Yzc4OGUwN2MxYg==
5
5
  data.tar.gz: !binary |-
6
- ZGY0NGJiYmYxYTdlZWM3ZDczOGY3ZThlOGVlMDRmOWY5ZGEyMmViNA==
6
+ N2Y5NGJjYWViZGQ2NzAwMDQxZGVjYTQwY2ZiNjI0NmU5ZGVlNTU1Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWI1OWM1YTIyOGMzMDkwN2U0YjI3MWM1Yjg1NWJiYmY2MWFkMGUzMjA5ZWU3
10
- ZDMzMmJkYjhhZmNlMjQ2ZTNmNmY5YmYxNDczYjAyMDIyM2IxNTFjMTBkODMx
11
- ZTZjYTFmNTA4NzhkNmQyYjk4NjM4M2RmY2NmNTg0ZmUwMTI0NmU=
9
+ ZjNmZDIzY2FlMTVlMjIzMTc2YjUwMzA5NWNmOWJlMWM1NzAzNjNjM2RiMGEw
10
+ OGRkYzgzM2Y2MzRiMDYxNTRlYmI5ZWY5ODMwYzJlNWUxNWZmM2JhNTAzY2Qz
11
+ MTJjMjVmYjBlZDZlZDRiNjAyZjIwYjlhN2ZhZWZkZDlhMjhjZDA=
12
12
  data.tar.gz: !binary |-
13
- YTk0N2VjNjFhNDU3MDhmOGVmMmEyZTVmYzI2ZjM0ZGMxODgxMGY2NzUxYThj
14
- YTQwZTAxNTZjOGFhZjIyZWNkYTFkNjgzNTExYmM5ZDA5NjQ5OWNmYzk0NDk0
15
- YmU1MTI0YTBjNTQ2ODEzZTY4MDZjY2YxMTliMDNiMDM1MjJiMTI=
13
+ ZDRkODc3MjJjYzg1ODMxYTI4ZTJkODM3MWRkOWE4ZTViNGU2MDVlOWZhMzI5
14
+ YTIzZDU3NWI5M2JkZjE0NTI2ODA2NDE0Njk5ZjgyMWZlNGU2ZWRjOTg2MTZh
15
+ OWM2Yjc3Y2ViNGZhN2IyZGFkZmViZWMyZjhlMzA2NDhhMTcyNDc=
@@ -486,7 +486,7 @@
486
486
  });
487
487
 
488
488
  // observe fields
489
- $('.ujs-ajax-change').each(function() {
489
+ $('.ujs-ajax-change', event.target).each(function() {
490
490
  var dataAttrs = ['type', 'callback', 'refresh', 'redirect', 'scroll-to',
491
491
  'throbber', 'empty', 'container', 'selector', 'result-method', 'url',
492
492
  'method', 'params'];
@@ -504,6 +504,7 @@
504
504
  if ($(this).is(':checkbox:not(:checked)')) {
505
505
  $(this).uniqueId();
506
506
  element = $(this).clone();
507
+ element.attr('id', '');
507
508
  element.data($(this).data());
508
509
  element.data('real-element', $(this).attr('id'));
509
510
  element.prop('value', '0');
data/jqr-helpers.gemspec CHANGED
@@ -1,8 +1,8 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'jqr-helpers'
3
3
  s.require_paths = %w(. lib lib/jqr-helpers)
4
- s.version = '1.0.64'
5
- s.date = '2014-11-27'
4
+ s.version = '1.0.65'
5
+ s.date = '2014-12-04'
6
6
  s.summary = 'Helpers to print unobtrusive jQuery-UI tags.'
7
7
  s.description = <<-EOF
8
8
  This gem adds helper methods to create unobtrusive jQuery code. It outputs
@@ -1,6 +1,6 @@
1
1
  module JqrHelpers
2
2
  # @private
3
3
  module Rails
4
- VERSION = '1.0.64'
4
+ VERSION = '1.0.65'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jqr-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.64
4
+ version: 1.0.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-27 00:00:00.000000000 Z
11
+ date: 2014-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement