releaf-content 1.0.9 → 1.0.10

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: 7a3bb38f60b14152aac0b00614ff0d3ba1558b3c
4
- data.tar.gz: cad1145449af7968692665a2804302f5b66384d5
3
+ metadata.gz: 4cc599571b5130fbb3f8e5562bb9399bdb9a1b97
4
+ data.tar.gz: 7ac89994d287677c0e728a1c716e45581ffddc2c
5
5
  SHA512:
6
- metadata.gz: 7053c97279c704c480cf8eb46f66dbf94611dd34d50934cf78a1cc92aba8b2b69918c422115ecdcbdc8d6a6ba161254b4567ebf7b477010b9bbdedeb3019c795
7
- data.tar.gz: d448e9e2920b641d3dc12ad41354e5f5469c088b5c0f3eda854d3710bf4e03e2b0b60aa909cce6ac1bfdc6a764fbc85aa03552bd314f977f1ed234499bef3246
6
+ metadata.gz: 3fdeeb9c1772ca3fc1962c581d6ed5958f26c4e0af6d439c666c651e51e9919525b83be69eda5bc311d0d607828ab4b304bbb9b33726eec86507659a1c252f79
7
+ data.tar.gz: f0a14a296e19a5d952f15b3ca43fb2b29e8808ddf86215a3daac2d3079109e2ae43abb771edbf80f7eb8217bcb73abbaac7a0e08860c479a9ae5ae518d22f03f
@@ -2,10 +2,17 @@ jQuery(function()
2
2
  {
3
3
  var body = jQuery('body.controller-releaf-content-nodes');
4
4
 
5
+
5
6
  body.on('contentloaded', function(e)
6
7
  {
7
8
  var block = jQuery(e.target);
8
9
 
10
+ // trigger on body as its outside loaded content parts
11
+ block.find('.dialog form[data-remote-validation="true"]').on( 'validation:ok', function()
12
+ {
13
+ block.trigger('ajaxboxclose');
14
+ });
15
+
9
16
  // item collapse / expand
10
17
  block.find('.collection li .collapser').click(function()
11
18
  {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: releaf-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - CubeSystems
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-21 00:00:00.000000000 Z
11
+ date: 2017-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: releaf-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.9
19
+ version: 1.0.10
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.9
26
+ version: 1.0.10
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: stringex
29
29
  requirement: !ruby/object:Gem::Requirement