bootstrap_form_extensions 1.1.2 → 1.2.0
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 +4 -4
- data/app/assets/javascripts/bootstrap_form_extensions/arrayed_field.js +2 -2
- data/app/assets/javascripts/bootstrap_form_extensions/duration.js +2 -2
- data/app/assets/javascripts/bootstrap_form_extensions/scheduler.js +2 -2
- data/app/assets/javascripts/bootstrap_form_extensions/select_or_new.js +2 -2
- data/app/assets/javascripts/bootstrap_form_extensions/time_picker.js +2 -2
- data/app/assets/javascripts/bootstrap_form_extensions/timespan.js +2 -2
- data/lib/bootstrap_form_extensions/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 704f467bd7032a12bc1ece91d3be8df5eeff4dfd
|
|
4
|
+
data.tar.gz: a20d309775899898a577a92e60e1809ee98699e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4ab3f2b6be2aeefe3262744d1c2a2ead7a701b9fff657b2ee58c323f79017611ff102e53abe4e51d03c705c13874119c58490caa7d8233c0d343df190986d04
|
|
7
|
+
data.tar.gz: 9d427a27c4ff9cfcda1576350f17dc14502f24e2d737693a5685888061046ed216e7cdf565a9eede0972e73b526e593060eb962ada15709eaaa116153c53cbf0
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
this.$container.on('click.bsfe.arrayedfield.data-api', '.remove-arrayed-field-row', this.removeRow.bind(this))
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
ArrayedField.VERSION = '1.
|
|
13
|
+
ArrayedField.VERSION = '1.2.0'
|
|
14
14
|
|
|
15
15
|
ArrayedField.prototype.addRow = function (event) {
|
|
16
16
|
var blueprint = this.$container.find(".blueprint-for-arrayed-field > .row").clone(true)
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
// ARRAYED FIELD DATA-API
|
|
62
62
|
// ======================
|
|
63
63
|
|
|
64
|
-
$(window).on('load page:load page:restore', function () {
|
|
64
|
+
$(window).on('load page:load turbolinks:load page:restore', function () {
|
|
65
65
|
$('[data-arrayed-field]').each(function () {
|
|
66
66
|
Plugin.call(this)
|
|
67
67
|
})
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
this.$container.on('change.bsfe.duration.data-api', 'input.hours, input.minutes, input.seconds, input.milliseconds', this.updateSeconds.bind(this))
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
Duration.VERSION = '1.0
|
|
12
|
+
Duration.VERSION = '1.2.0'
|
|
13
13
|
|
|
14
14
|
Duration.prototype.updateSeconds = function (event) {
|
|
15
15
|
var hidden = this.$container.find('input.duration-seconds')
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
// DURATION DATA-API
|
|
56
56
|
// =================
|
|
57
57
|
|
|
58
|
-
$(window).on('load page:load page:restore', function () {
|
|
58
|
+
$(window).on('load page:load turbolinks:load page:restore', function () {
|
|
59
59
|
$('[data-duration]').each(function () {
|
|
60
60
|
Plugin.call(this)
|
|
61
61
|
})
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
this.setInitialValues()
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
Scheduler.VERSION = '1.
|
|
15
|
+
Scheduler.VERSION = '1.2.0'
|
|
16
16
|
|
|
17
17
|
Scheduler.prototype.createEvents = function (event) {
|
|
18
18
|
this.$element.on('click.bsfe.scheduler.data-api', 'table.scheduler-badge', this.editSchedule.bind(this))
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
// SCHEDULER DATA-API
|
|
218
218
|
// ==================
|
|
219
219
|
|
|
220
|
-
$(window).on('load page:load page:restore', function () {
|
|
220
|
+
$(window).on('load page:load turbolinks:load page:restore', function () {
|
|
221
221
|
$('[data-scheduler]').each(function () {
|
|
222
222
|
Plugin.call(this)
|
|
223
223
|
})
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
this.createEvents()
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
SelectOrNew.VERSION = '1.
|
|
16
|
+
SelectOrNew.VERSION = '1.2.0'
|
|
17
17
|
|
|
18
18
|
SelectOrNew.prototype.createEvents = function () {
|
|
19
19
|
this.$element.on('change.bsfe.select-or-new.data-api', 'select', this.changeSelection.bind(this))
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
// SELECT-OR-NEW DATA-API
|
|
68
68
|
// ======================
|
|
69
69
|
|
|
70
|
-
$(window).on('load page:load page:restore', function () {
|
|
70
|
+
$(window).on('load page:load turbolinks:load page:restore', function () {
|
|
71
71
|
$('[data-select-or-new]').each(function () {
|
|
72
72
|
Plugin.call(this)
|
|
73
73
|
})
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
$(element).timepicker($.extend(defaults, options))
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
TimePicker.VERSION = '1.
|
|
19
|
+
TimePicker.VERSION = '1.2.0'
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
// TIME PICKER PLUGIN DEFINITION
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
// TIME PICKER DATA-API
|
|
50
50
|
// ====================
|
|
51
51
|
|
|
52
|
-
$(window).on('load page:load page:restore', function () {
|
|
52
|
+
$(window).on('load page:load turbolinks:load page:restore', function () {
|
|
53
53
|
$('[data-provide="timepicker"]').each(function () {
|
|
54
54
|
var $picker = $(this)
|
|
55
55
|
var options = $picker.html5data('time')
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
this.$container.on('change.bsfe.timespan.data-api', '.timespan-quantity, .timespan-unit', this.updateSeconds.bind(this))
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
Timespan.VERSION = '1.
|
|
12
|
+
Timespan.VERSION = '1.2.0'
|
|
13
13
|
|
|
14
14
|
Timespan.prototype.updateSeconds = function (event) {
|
|
15
15
|
var hidden = this.$container.find('.timespan-seconds')
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
// TIMESPAN DATA-API
|
|
52
52
|
// =================
|
|
53
53
|
|
|
54
|
-
$(window).on('load page:load page:restore', function () {
|
|
54
|
+
$(window).on('load page:load turbolinks:load page:restore', function () {
|
|
55
55
|
$('[data-timespan]').each(function () {
|
|
56
56
|
Plugin.call(this)
|
|
57
57
|
})
|