inline_forms 1.6.49 → 1.6.50

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGFlNWFjMWZjOTc5OWIxNTMzNDkyYThkODNkODAyYTc5MzUyZDQ1YQ==
4
+ YmM5OGMyYjhjODgxODNhNzk4MWQxZGUyZWYyMzlkZjExYmI5MDNjNg==
5
5
  data.tar.gz: !binary |-
6
- ZjZiYTg5YTVlNjAzM2MxYzFjMGEyYzM2OWQzYWM1NjA3MzFlMjc0NQ==
6
+ MTcxMzM0NDI4MmFjOTFiNjZmOWRlOTQ5YmFkNWFkMjA4ZGIyNTk5Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzRkYTM1YzM1ZDNmOWQ1NWQ0NDYxZDUzNjJkNTcxZjJhZjk4MWU0NDI1MGY2
10
- MDFiZDkzMDUzY2U4OTI5ZjYwNDZiODVhYmZhMDgxZWNmNzc2MmE0OTBjZTNl
11
- YjQ0YjJiZGQyMTMxYmY2YzJiZTI2M2ExOTk1YWE1NmQ1OGRhZjQ=
9
+ ZDQ2ZTc1MWU0ZTVjOWMyM2NmODUyYzdiNWFhNGQ5YjE1MjEyYTUzNDlhOTgx
10
+ YzI2YWYwZTcwYmU5ZGM0MjY5NDgzYmQxMzZiNDcwMmRhYzIxNWFlYjJjMTlk
11
+ ZDA1OGJhNGE3NWE2NDFkZGQ2ZTkyY2IzY2E4YjY5NzdjMjY4NTI=
12
12
  data.tar.gz: !binary |-
13
- MDQ5NjRlNmViMjk5YTZlODQ5OWM1MDVlYmU1N2RiOGY2MzkwZDljZmQ2NjA2
14
- NzExMDhhOTVhMzY5MGYyZTUxNDY5YTE4M2Q1ZmJmZDg5ZWI3YTM5YmM1MThk
15
- NmZiMWVhMGVjM2IzNTEwYjUwODVkZWYwYjkxZDA0ZWNiMGI0M2Y=
13
+ ZDMxNjQ3YTJlZTQ3ZDVmZDZiNzRiMjRiNGJkMzdiMTY1YjE3NzUwMzI0MGVm
14
+ MTcwZTZjNDRlZTY4OTJkMGVlMzVkY2Y2NmI0M2ZhOWU3NmRiMmI4YzBiODhi
15
+ MDM2NjE0MTM2NjA1NDc0YTlkZTE0Mjc3MzVjMTJmZWYwNmM4YWE=
@@ -1,6 +1,4 @@
1
1
  $(document).ready(function() {
2
- // foundation datepicker
3
- $('.datepicker').fdatepicker();
4
2
  // get rid of translation_missing tooltips
5
3
  $(this).on("mouseover", ".translation_missing", function() {
6
4
  $(this).attr('title', '');
@@ -7,10 +7,10 @@
7
7
  //= require jquery
8
8
  //= require jquery_ujs
9
9
  //= require foundation
10
+ //= require foundation-datetimepicker
11
+ //= require jquery-scrollto
10
12
  //= require jquery.remotipart
11
13
  //= require ckeditor/init
12
14
  //= require inline_forms
13
15
 
14
16
  $(document).foundation();
15
-
16
-
@@ -8,7 +8,8 @@ end
8
8
 
9
9
  def date_select_edit(object, attribute)
10
10
  css_id = 'datepicker_' + object.class.to_s.underscore + '_' + object.id.to_s + '_' + attribute.to_s
11
- text_field_tag attribute, ( object.send(attribute).nil? ? "" : object.send(attribute).strftime("%d-%m-%Y") ), :id => css_id, :class =>'datepicker'
11
+ out = text_field_tag attribute, ( object.send(attribute).nil? ? "" : object.send(attribute).strftime("%d-%m-%Y") ), :id => css_id, :class =>'datepicker'
12
+ out << "<script>$('##{css_id}').fdatepicker();</script>".html_safe
12
13
  end
13
14
 
14
15
  def date_select_update(object, attribute)
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "1.6.49"
3
+ VERSION = "1.6.50"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.49
4
+ version: 1.6.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-12 00:00:00.000000000 Z
11
+ date: 2014-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rvm