bootbox_crud 0.1.1.5 → 0.1.1.6

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: ec83d2ca42f15ef6aff838d2ee691eba56a354db
4
- data.tar.gz: 85d6d3a8d032b34b750c50c3655f26cec36141e0
3
+ metadata.gz: 0a699c43c7aeb3c8d6df2eaa797587a7d3f4b5c4
4
+ data.tar.gz: b896e32a7ed1d4f0042647447827d1cd87927c8d
5
5
  SHA512:
6
- metadata.gz: 5cf5f589dc362c27a96ec89921ffbb34e754393d64114171fe4143a3686926e0f3235cfb838571f0658c7dd7dd8c5dc2c42031aeda91887f4f12b48b41d371c1
7
- data.tar.gz: 8cc9dccba596aa9c57a54ba5485c84c494b8585b9f0961435a82751a58fb39676b5fef00021ec7fc810ccba2fa130912843d34528baa9bb2bcbb098f8e819cd5
6
+ metadata.gz: 81214187df147a485850d683fdcf385a0f3a031187fb45d581583b0825ed3ad24e67bb0f7cecf636ec8da7e724bd66c2a9586a7008337a13404371deab702fb2
7
+ data.tar.gz: 87b4dbc3c014d95459d86510168a783567a770b26ebd344c6cddfd85928e1b564ffdbea87fa573fe366e6a267e0e798af079af03c927bdb5c877b3a78938384c
@@ -11,6 +11,8 @@ var modal = $('.bootbox.modal');
11
11
  <%- else %>
12
12
  BBCrud.Alert.show('<%= success_alert %>');
13
13
  modal.modal('hide');
14
- var path = '<%= defined?(visit_path) ? visit_path : nil %>';
15
- if (path !== false) Turbolinks.visit(path === '' ? null : path);
14
+ <%- if defined?(visit_path) && visit_path != false %>
15
+ var path = '<%= defined?(visit_path) ? visit_path : nil %>';
16
+ Turbolinks.visit(path === '' ? null : path);
17
+ <%- end %>
16
18
  <%- end %>
@@ -1,5 +1,5 @@
1
1
  module BootboxCrud
2
2
  module Rails
3
- VERSION = "0.1.1.5"
3
+ VERSION = "0.1.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootbox_crud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.5
4
+ version: 0.1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jiri Kaipr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-12 00:00:00.000000000 Z
11
+ date: 2015-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties