thecore_ui_partial_snippets 1.1.7 → 1.1.8
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,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cfc1a42b7e423aa80efc9e61f993b167c50971a
|
|
4
|
+
data.tar.gz: 9df3d08d6d65edc6a6f61ed4ee6e27ef208a6ad3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46fe6735599fa6b3ef727ba8f3b78a8fe9b08039960a283242afe71b5acbf707a79d4f7af7d203e077d6208259740677d8a8c772b6b4f8d93a72031755f6e730
|
|
7
|
+
data.tar.gz: 4ea3981776d4b42c0e684fbf99e66125678584ea3f390f61a149dded90792631dc9017b0d5a0b2c7ee19bfb8214cbcd11f97260581b185229427fcfbd226de86
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
function buildDTPicker(id, label, initialValue, ro, date_only){
|
|
3
3
|
var html = '<div class="input-group date" default-date="'+initialValue+'">';
|
|
4
4
|
html += '<label class="input-group-addon">'+label+'</label>';
|
|
5
|
-
html += '<input class="form-control" type="text"
|
|
5
|
+
html += '<input class="form-control" type="text" readonly/>';
|
|
6
6
|
html += '<label class="input-group-addon"><i class="fa fa-fw fa-calendar"></i></label>';
|
|
7
7
|
html += '</div>';
|
|
8
8
|
var jqueryObj = $(html);
|
|
@@ -26,7 +26,9 @@
|
|
|
26
26
|
}
|
|
27
27
|
if(date_only)
|
|
28
28
|
dtParams.format = "L";
|
|
29
|
-
jqueryObj.datetimepicker(dtParams)
|
|
29
|
+
jqueryObj.datetimepicker(dtParams).on('dp.change', function (e){
|
|
30
|
+
returnedData[id.replace(/-/g, '_')] = e.date.format();
|
|
31
|
+
});
|
|
30
32
|
return jqueryObj;
|
|
31
33
|
}
|
|
32
34
|
</script>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thecore_ui_partial_snippets
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabriele Tassoni
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thecore
|