Sha256: 000f7487781dfabd697c249f7738d0ec2b9dd1ec0f8737415ca1ca80dfd4f76d

Contents?: true

Size: 333 Bytes

Versions: 4

Compression:

Stored size: 333 Bytes

Contents

pageflow.linkmapPage.NewAreaFileSelectionHandler = function(options) {
  var page = pageflow.pages.get(options.id);

  this.call = function(file) {
    page.configuration.linkmapAreas().addAudioFile(file.get('perma_id'));
    return false;
  };

  this.getReferer = function() {
    return '/pages/' + options.id + '/areas';
  };
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pageflow-linkmap-page-2.10.0 app/assets/javascript/pageflow/linkmap_page/editor/models/new_area_file_selection_handler.js
pageflow-linkmap-page-2.9.0 app/assets/javascript/pageflow/linkmap_page/editor/models/new_area_file_selection_handler.js
pageflow-linkmap-page-2.8.0 app/assets/javascript/pageflow/linkmap_page/editor/models/new_area_file_selection_handler.js
pageflow-linkmap-page-2.7.1 app/assets/javascript/pageflow/linkmap_page/editor/models/new_area_file_selection_handler.js