simple_form_datetimepicker 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22e582627bbbcc1237c0db42c83346004bcf3fa5
|
4
|
+
data.tar.gz: 39879252768552d8f3ce1d625e8d8b4ee85de9af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c92057e5ff82575a6b13f01ff849aeff4e00fd0af455182c91a4320c7e0880510b7c2d810e6d18b964e040211585cad8dce39ee82c36f2982547dd5b35035c7
|
7
|
+
data.tar.gz: 015b71126acf6bbacc3948b46a55e6bec8b31f450d362f36ffb81931060ebabfeace71c5be52ac18ca29e22322a2e99fe8518b4806b3e4789d85890e628268cd
|
@@ -1176,7 +1176,12 @@
|
|
1176
1176
|
$.fn.datetimepicker = function (options) {
|
1177
1177
|
return this.each(function () {
|
1178
1178
|
var $this = $(this), data = $this.data('DateTimePicker');
|
1179
|
-
if (!data)
|
1179
|
+
if (!data) {
|
1180
|
+
var dtp_data_options = $this.data('dtp-options');
|
1181
|
+
if (dtp_data_options !== undefined)
|
1182
|
+
$.extend(true, options, dtp_data_options);
|
1183
|
+
$this.data('DateTimePicker', new DateTimePicker(this, options));
|
1184
|
+
}
|
1180
1185
|
});
|
1181
1186
|
};
|
1182
1187
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_form_datetimepicker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- smit1625
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -117,9 +117,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
119
|
rubyforge_project:
|
120
|
-
rubygems_version: 2.
|
120
|
+
rubygems_version: 2.4.8
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: Uses bootstrap-datetimepicker to enhance SimpleForm's default datetime input
|
124
124
|
test_files: []
|
125
|
-
has_rdoc:
|