scrivito_table_widget 0.7.2 → 0.7.3

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: 697f6790ddb21fa75127215506a1d9165ff4152f
4
- data.tar.gz: a7d0b51c013dbe428807fbcc08b4029a7e76a596
3
+ metadata.gz: d0056373ca9138cbbc2141c934f86aabb4e13d51
4
+ data.tar.gz: 023e038a142148e9dff0894dbf60335b3a4fb5dc
5
5
  SHA512:
6
- metadata.gz: b40fb10d3197d68f092f1789e7b7fcdd1bf1c5af2750a63d35593cecfccc334db96526703eb0af72bbbd2e08bf9441781235a0ef3a537b3a9679743027ac7b8c
7
- data.tar.gz: 9e3f35966ce854d698d9160ca0379594ba39c9fd26df2e804a17bce25d1d7f98a90e3c845ddfc595d052dea1ecaf7eb94fb264c0d92a0bdcb53b0d656e401a6f
6
+ metadata.gz: d4566565dc67d2c3a6e8375b7fb267d4a1975fad0cde6178ddc037b2341ff38cf369f089f1d3bd3186605a17eb3143cf57362f5e1f31162537a624cf62e3cf66
7
+ data.tar.gz: 42e6791970ef0182b84897babca88e8ea6ff96ae4f5b504efc2cfa09679eb48ac3f13167b747f785e10e32f1689ec90b1f11656a6a074f66e1e70398645331f0
@@ -25,7 +25,9 @@
25
25
  };
26
26
 
27
27
  scrivito.on('content', function() {
28
- return scrivito.define_editor('table_editor', table_editor);
28
+ if (scrivito.in_editable_view()) {
29
+ scrivito.define_editor('table_editor', table_editor);
30
+ }
29
31
  });
30
32
 
31
33
  })(jQuery, this);
@@ -1,3 +1,3 @@
1
1
  module ScrivitoTableWidget
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_table_widget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-29 00:00:00.000000000 Z
11
+ date: 2016-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: scrivito