scrivito_content_browser 0.65.1 → 0.65.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: 2ecdc36d26593322eefcadeeeb6d12cb9865f5bb
4
- data.tar.gz: 4d75383160cc03c4065e09038953943875f12923
3
+ metadata.gz: f258b05616a8a9f4fc13ef0147e9c6d5d9200163
4
+ data.tar.gz: 2575925d44529c8f02ba7eee1fd9feef8d923656
5
5
  SHA512:
6
- metadata.gz: 0134fcf5daabf55cf176ceae9dd6e67d42425e0976cc4348f6f9273ebc8990e781665b52073c4881a2bcda9104244c3f08aff35116c0f0116e1b7dda1d6ce7eb
7
- data.tar.gz: 0ec0737faab4e789760c5e6f57b69f8440e12995b8abde21ae4566197cf9de8d83261c62ef02b3fec2fcbab598abc83aacb7931e7e72b7c4f8622432e0850127
6
+ metadata.gz: 5da90da544d76cff74ef1eeb8178d3868b6699723d1f6fed0b0bd14c648150c0280d87ed004e0316e4278ba24dbc3c69733185cb7b34c7a8108dd6a349a45432
7
+ data.tar.gz: 015757bc30e6b33384b00ba069187486e4c4ee3a2116994ed081cf3505aba3891706a38f971a945dbbcd1f96ccdd31b758ba77498d33534bf3b07285b1d8bef9
@@ -118,9 +118,12 @@
118
118
  _getLastContentBrowserElement: function() {
119
119
  return this._getLastElementByClassName('scrivito-content-browser show');
120
120
  },
121
+ _remove: function(element) {
122
+ return element.parentNode.removeChild(element);
123
+ },
121
124
  close: function() {
122
- this._getLastOverlayElement().remove();
123
- return this._getLastContentBrowserElement().remove();
125
+ this._remove(this._getLastOverlayElement());
126
+ return this._remove(this._getLastContentBrowserElement());
124
127
  },
125
128
  open: function(options) {
126
129
  var promise;
@@ -9438,7 +9441,7 @@
9438
9441
  closeDialog: function(event) {
9439
9442
  event.preventDefault();
9440
9443
  React.unmountComponentAtNode(this.props.container);
9441
- return this.props.container.remove();
9444
+ return this.props.container.parentNode.removeChild(this.props.container);
9442
9445
  },
9443
9446
  render: function() {
9444
9447
  return React.createElement("div", null, React.createElement("div", {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_content_browser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.65.1
4
+ version: 0.65.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-15 00:00:00.000000000 Z
11
+ date: 2015-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-rails
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.65.1
47
+ version: 0.65.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.65.1
54
+ version: 0.65.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pry
57
57
  requirement: !ruby/object:Gem::Requirement