scrivito_table_widget 0.7.1 → 0.7.2

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: e4f784f71fa91ad643cb5d419eb622b6ad5a3257
4
- data.tar.gz: 4a77f6cc2b58a2abc8e250376ed4e86badc4ebfd
3
+ metadata.gz: 697f6790ddb21fa75127215506a1d9165ff4152f
4
+ data.tar.gz: a7d0b51c013dbe428807fbcc08b4029a7e76a596
5
5
  SHA512:
6
- metadata.gz: 889691053b3913e9366ca2db203e632cb2744bd85438cd21dd23bdfa4360e25668eb499e4b69348ecdab9b84df424abc3e8d7a2ae34becb02aa8b2757916aca1
7
- data.tar.gz: 1a4a876e771dfe2f148ba004ee9d098f2e2f6bd66c3d0a1f07a4c076b4bbaf074719364807433e8916180d679ef3bb1a37f69d568f682e768b71535e89b7e51f
6
+ metadata.gz: b40fb10d3197d68f092f1789e7b7fcdd1bf1c5af2750a63d35593cecfccc334db96526703eb0af72bbbd2e08bf9441781235a0ef3a537b3a9679743027ac7b8c
7
+ data.tar.gz: 9e3f35966ce854d698d9160ca0379594ba39c9fd26df2e804a17bce25d1d7f98a90e3c845ddfc595d052dea1ecaf7eb94fb264c0d92a0bdcb53b0d656e401a6f
@@ -8,7 +8,10 @@
8
8
  activate: function(element) {
9
9
  $(element).on('click', function(event) {
10
10
  $(element).edittable(event);
11
- scrivito.editors.medium_editor.activate(element);
11
+
12
+ if (!$(this).data('medium-editor-element')) {
13
+ scrivito.editors.medium_editor.activate(element);
14
+ }
12
15
  event.stopPropagation();
13
16
  });
14
17
 
@@ -1,3 +1,3 @@
1
1
  module ScrivitoTableWidget
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
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.1
4
+ version: 0.7.2
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-03 00:00:00.000000000 Z
11
+ date: 2016-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: scrivito