effective_datatables 4.3.13 → 4.3.14

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: becca55d8f11979e333f3f0a40e587d79e2280d7
4
- data.tar.gz: ad7d4200759f221445c283c4b0afdca9166165bf
3
+ metadata.gz: af2ec322b027d0c64af201b2f7356fbad6d2584e
4
+ data.tar.gz: 6f27b2d7b3c3c9424b1301c78a6b10aa91c0ef0f
5
5
  SHA512:
6
- metadata.gz: e48ceae89e86dbb2fdf796c8547d4f650590e038be2ff868e853fb77227cafb728cec96ac125d90bd83b249a59dbafe4d05165399181b025f96b8443aa643d59
7
- data.tar.gz: 5d7fb0d3447389f5d489eadea1ff51d8e838863669db23e5e595f07e406e8dce8a6154914ac09f48ad40983c8fd37a7add11473d7eb86d82d9ec944e65fdfd18
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...').hide()
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 :action_controller do
9
+ ActiveSupport.on_load :action_controller_base do
10
10
  helper EffectiveDatatablesHelper
11
11
  helper EffectiveDatatablesPrivateHelper
12
12
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '4.3.13'.freeze
2
+ VERSION = '4.3.14'.freeze
3
3
  end
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.13
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-02 00:00:00.000000000 Z
11
+ date: 2018-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails