scrivito_editors 1.6.0 → 1.6.1.rc1

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: 244a2c8c1520850ab5022bd62a8e3bc239fcc7bc
4
- data.tar.gz: 66675400611420c2f75b9cbde89fda685ad75ebf
3
+ metadata.gz: e9c8e0e3efbe72b731b0988bc05a5fdc4887361c
4
+ data.tar.gz: 3dbb6d6decb9c0b83bdf8d6bf7c17b4df49912d2
5
5
  SHA512:
6
- metadata.gz: 4f8ab4cacb95e70393fb1457958f8dbc8678e594cd9c914b3ca92ca69aa16b3a7be2b47ed130f3d9a97b2aad4fcd81f1c6802a98791289cda669c78de7420c83
7
- data.tar.gz: d1ac598d5eb4de6a59d7337bf750eb81eed692f9ca024bdfe9f423a6d5d4814bd5cd2d9401255513d5f6371fcfa6d1d6a56e7a1b000d17149bf933b47f3b2afa
6
+ metadata.gz: bfe1b572d5f4bc08eb6bd4db91d3a3280b7e97289aecf3605971aee8a5233a5210f00c34dcc566fc3a3b191d9c39cef2b3b150aaecab22d7720e1c6cb78ba774
7
+ data.tar.gz: 53a52550879e9160f0561bd3c50b382a876adcb51a6853e0ad85896515294a95ad3468edc8a48019ce27921c47512cf5eaefeef1ed562d2e4a9ce6469d70750c
@@ -2,7 +2,7 @@
2
2
  var activate, collectIds, contentBrowserButtonTemplate, getCmsField, onContentBrowserOpen, remove, render, renderItem, save;
3
3
 
4
4
  renderItem = function(objId) {
5
- return $("<li data-id=\"" + objId + "\">\n <span class=\"list-content\"></span>\n <div class=\"actions\">\n <a href=\"#\" class=\"editing-button editing-red delete\">\n <i class=\"editing-icon editing-icon-trash\" />\n </a>\n </div>\n</li>");
5
+ return $("<li data-scrivito-editors-obj-id=\"" + objId + "\">\n <span class=\"list-content\"></span>\n <div class=\"actions\">\n <a href=\"#\" class=\"editing-button editing-red delete\">\n <i class=\"editing-icon editing-icon-trash\" />\n </a>\n </div>\n</li>");
6
6
  };
7
7
 
8
8
  contentBrowserButtonTemplate = function() {
@@ -49,13 +49,13 @@
49
49
 
50
50
  collectIds = function(cmsField) {
51
51
  var item, items, value;
52
- items = $(cmsField).find('[data-id]');
52
+ items = $(cmsField).find('[data-scrivito-editors-obj-id]');
53
53
  return value = (function() {
54
54
  var i, len, results;
55
55
  results = [];
56
56
  for (i = 0, len = items.length; i < len; i++) {
57
57
  item = items[i];
58
- results.push($(item).data('id'));
58
+ results.push($(item).attr('data-scrivito-editors-obj-id'));
59
59
  }
60
60
  return results;
61
61
  })();
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_editors
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-02 00:00:00.000000000 Z
11
+ date: 2016-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-ui-rails
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - '='
52
52
  - !ruby/object:Gem::Version
53
- version: 1.6.0
53
+ version: 1.6.1.rc1
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - '='
59
59
  - !ruby/object:Gem::Version
60
- version: 1.6.0
60
+ version: 1.6.1.rc1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: scrivito_sdk
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - '='
66
66
  - !ruby/object:Gem::Version
67
- version: 1.6.0
67
+ version: 1.6.1.rc1
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - '='
73
73
  - !ruby/object:Gem::Version
74
- version: 1.6.0
74
+ version: 1.6.1.rc1
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: coffee-rails
77
77
  requirement: !ruby/object:Gem::Requirement