scrivito_editors 1.5.4 → 1.5.5.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: fac5c1195017b8e5ed4ecfef915c4dc1e48ad594
4
- data.tar.gz: f762f49166a3efc857d2915902a7d1e950abf7d6
3
+ metadata.gz: 2561ff9fcaec51d6314eb71e11f8c2c0e6f6f36a
4
+ data.tar.gz: 72e34c2e4829018c32c05e1f101eb70ca88aaecc
5
5
  SHA512:
6
- metadata.gz: 0f28d53c0a99f4808fe574c1ce4004ec54ae1ae18afaf85dd52a4793efb21125f4d2142143fcdae0aa5f0bca1e9f197bf72152815fe5c175e2b802a584151147
7
- data.tar.gz: 6eb1bd493b856589f0adde7686b9007318200f1194aa2dae57bc55d10cda22e537429a4a39b3448402ef875df38571fe8f9092bcaf7eefa0ae966dc1ad66cbdb
6
+ metadata.gz: 970a5c48fe9b8a77d964b4a50c4d374d8df24e962c41ab7f4b82d97aa5a817c592be0d53ae94439cfb8fdcbfa130e63d6c4ca11f882f3db59b7216fefdfcc482
7
+ data.tar.gz: 653ce184ab2111e9f876328a535bbf276c004371b73199cd401bf471a72007af56bbb5ed0a1a4eda62c44c1ddce26eb42f9fd4626ab9dd032cbf8a601f0ecba8
@@ -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.5.4
4
+ version: 1.5.5.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-07 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.5.4
53
+ version: 1.5.5.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.5.4
60
+ version: 1.5.5.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.5.4
67
+ version: 1.5.5.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.5.4
74
+ version: 1.5.5.rc1
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: coffee-rails
77
77
  requirement: !ruby/object:Gem::Requirement