pageflow-linkmap-page 2.7.0 → 2.7.1

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
- SHA1:
3
- metadata.gz: 83d3c8769a850d2e0fd78e7be7b6e0d9b6531703
4
- data.tar.gz: 00a2904f41804a23f93159697c21ec2afeb6fee2
2
+ SHA256:
3
+ metadata.gz: f3fb56e43873a0680f0aa09f672fdbe2653db7378a68fc8cda40489dafdb8f22
4
+ data.tar.gz: 17e6bf2a58871c3ceb2bfd4f700e3c20721228a74afca783dcdcd4e333ed7ad3
5
5
  SHA512:
6
- metadata.gz: 711a2d93aabe16e4de29d6cb7521072d53fa3a21c2d6011865cfddfaf719db81c00096b42d101a06878725288cab25e2f9b96ca3bfcff4ae7333583889a7efe2
7
- data.tar.gz: 98f2ca1f2d8449c4bca1490ccac8e0e6e28395a5327b667cff00a0ddc92f81ed4165e8f21b3133f33f977831edc092310bfc59b13017d7e156f86eb23a42bd1b
6
+ metadata.gz: ba26260154e63ae7b2c0ca60cb504109c808a24118d665d7e8bd46c41262ac3bc04284a34145495b48677b806d8f1b7abafbf73411713a4fadf0a69cf3830393
7
+ data.tar.gz: ab0bb4eb2593f77eb5b1d522ecbbff44ea76cce3b82a19ccce70909c61fab5cb4f1f54dfb49112cc1bfddd3a883c86d8cfc576168ef87f8e779e1f53846fa29c
@@ -1,5 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### Version 2.7.1
4
+
5
+ 2020-08-13
6
+
7
+ [Compare changes](https://github.com/codevise/pageflow-linkmap-page/compare/v2.7.0...v2.7.1)
8
+
9
+ - Bug fix: Use perma id for audio hotspot files
10
+ ([#72](https://github.com/codevise/pageflow-linkmap-page/pull/72))
11
+
3
12
  ### Version 2.7.0
4
13
 
5
14
  2020-04-01
@@ -11,7 +11,7 @@ pageflow.linkmapPage.Area = Backbone.Model.extend({
11
11
  // pageflow.xxx.getPolymorphic(this.get('target_type'), this.get('target_id'));
12
12
  //
13
13
  if (this.get('target_type') === 'audio_file') {
14
- return pageflow.audioFiles.get(this.get('target_id'));
14
+ return pageflow.audioFiles.getByPermaId(this.get('target_id'));
15
15
  }
16
16
  else if (this.get('target_type') === 'page') {
17
17
  return pageflow.pages.getByPermaId(this.get('target_id'));
@@ -2,7 +2,7 @@ pageflow.linkmapPage.NewAreaFileSelectionHandler = function(options) {
2
2
  var page = pageflow.pages.get(options.id);
3
3
 
4
4
  this.call = function(file) {
5
- page.configuration.linkmapAreas().addAudioFile(file.id);
5
+ page.configuration.linkmapAreas().addAudioFile(file.get('perma_id'));
6
6
  return false;
7
7
  };
8
8
 
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module LinkmapPage
3
- VERSION = '2.7.0'.freeze
3
+ VERSION = '2.7.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-linkmap-page
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codevise Solutions Ltd.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-01 00:00:00.000000000 Z
11
+ date: 2020-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -372,7 +372,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
372
372
  version: '0'
373
373
  requirements: []
374
374
  rubyforge_project:
375
- rubygems_version: 2.6.11
375
+ rubygems_version: 2.7.9
376
376
  signing_key:
377
377
  specification_version: 4
378
378
  summary: Pageflow page type for a page that contains customizable link areas