effective_datatables 4.3.13 → 4.3.14
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: af2ec322b027d0c64af201b2f7356fbad6d2584e
|
4
|
+
data.tar.gz: 6f27b2d7b3c3c9424b1301c78a6b10aa91c0ef0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 650a1ad46b4a2384438877d17687cc807012f2de888cdb5834bf543f4e84a709884dbca4f9bc3459654411ac35f071cdb5b7506fbcd35594ab2cc3aa13458676
|
7
|
+
data.tar.gz: 1ce0b64574d75ed034999b741fcb229d81ff7a6412220ad381f051724e6c9eb741a5852e4f9cfe44ddc3fc07635472d741e9b1595bbeaa91b3c9d0887e34bd05
|
@@ -7,7 +7,6 @@ flash = (message, status = '') ->
|
|
7
7
|
message = 'Error: ' + message
|
8
8
|
|
9
9
|
$processing = $(@table().node()).siblings('.dataTables_processing')
|
10
|
-
$processing.removeClass('alert-success alert-info alert-warning alert-danger alert-error')
|
11
10
|
|
12
11
|
if status.length > 0
|
13
12
|
$processing.addClass("alert-#{status}")
|
@@ -20,7 +19,9 @@ flash = (message, status = '') ->
|
|
20
19
|
delay = (if status == 'danger' then 4000 else 1500)
|
21
20
|
|
22
21
|
$processing.html(message).data('timeout', setTimeout( =>
|
23
|
-
$processing.html('Processing...')
|
22
|
+
$processing.html('Processing...')
|
23
|
+
$processing.removeClass('alert-success alert-info alert-warning alert-danger alert-error')
|
24
|
+
$processing.hide()
|
24
25
|
@context[0].oFeatures.bProcessing = true
|
25
26
|
, delay)
|
26
27
|
)
|
@@ -6,7 +6,7 @@ module EffectiveDatatables
|
|
6
6
|
|
7
7
|
# Include Helpers to base application
|
8
8
|
initializer 'effective_datatables.action_controller' do |app|
|
9
|
-
ActiveSupport.on_load :
|
9
|
+
ActiveSupport.on_load :action_controller_base do
|
10
10
|
helper EffectiveDatatablesHelper
|
11
11
|
helper EffectiveDatatablesPrivateHelper
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_datatables
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|