caboose-cms 0.8.61 → 0.8.62

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: f36c7fdecc5fc40895fc8cf1cbfa7c0af91b7e10
4
- data.tar.gz: d76ad213171289b7f79ba6260c657dfbd37e6f00
3
+ metadata.gz: b4106e491d93b523834ee2666e8b56318619b105
4
+ data.tar.gz: ed68ff328ca5bd231ebec43547d03135e17582ca
5
5
  SHA512:
6
- metadata.gz: 25b912cdbafbedbe3c6e420ca5af6a2e47157274a56151902e2336c25a166a6fe5be288fc7f67015690eb66a8aebcd9cbb835504f222f0d02c7397abc40fdd45
7
- data.tar.gz: 3ebe5da2b93ccb8ae12d8dc8bd172dd88441dac80b53618ff44e6e705aa28659bdf4290df51bfd967d76ac3568331ebd9d470c644d68381d04e95aacdd07f82f
6
+ metadata.gz: 958a0609222e9d01efcdfb5c56de683cd193063df59d01cf3ce1e02df3f8efe74fcaf8d0d7d02525d87c10cdb59061653d1e106102f4bfa50b222bf1938e7601
7
+ data.tar.gz: 2529ba70074ed38ad461ab05ac478c0cdd4c1b95a74748a1cdf3ac3239df88f7accce80e6b5e402f5b12189ee5309384835102bc29c9b86799cf155857e3fb0a
@@ -90,16 +90,16 @@ IndexTable.prototype = {
90
90
  after_print: false,
91
91
  table_class: 'data',
92
92
  allow_export: false,
93
- export_urls: false, // Example:
94
- // [
95
- // {
96
- // name: 'My Export',
97
- // url: '<url that starts export process>',
98
- // wait_for_processing: true,
99
- // status_url: function(resp) { return resp.status_url; },
100
- // ready: function(resp) { return resp.redirect_url; }
101
- // }
102
- // ]
93
+ exports: false, // Example:
94
+ // [
95
+ // {
96
+ // name: 'My Export',
97
+ // url: '<url that starts export process>',
98
+ // wait_for_processing: true,
99
+ // status_url: function(resp) { return resp.status_url; },
100
+ // ready: function(resp) { return resp.redirect_url; }
101
+ // }
102
+ // ]
103
103
 
104
104
  //============================================================================
105
105
  // End of parameters
@@ -716,9 +716,9 @@ IndexTable.prototype = {
716
716
  };
717
717
 
718
718
  var p = $('<p/>');
719
- $.each(that.export_urls, function(i, h) {
720
- that.export_urls[i] = $.extend({}, defaults, h);
721
- p.append($('<input/>').attr('type', 'button').val(that.export_urls[i].name).click(function(e) { that.csv_export_start($(this).val()); })).append(' ');
719
+ $.each(that.exports, function(i, h) {
720
+ that.exports[i] = $.extend({}, defaults, h);
721
+ p.append($('<input/>').attr('type', 'button').val(that.exports[i].name).click(function(e) { that.csv_export_start($(this).val()); })).append(' ');
722
722
  });
723
723
 
724
724
  var div = $('<div/>').addClass('note')
@@ -735,7 +735,7 @@ IndexTable.prototype = {
735
735
  var p = that.pager_params();
736
736
 
737
737
  var h = false;
738
- $.each(that.export_urls, function(i, h2) {
738
+ $.each(that.exports, function(i, h2) {
739
739
  if (h2.name == name) { h = h2; return false; }
740
740
  });
741
741
 
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.8.61'
2
+ VERSION = '0.8.62'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.61
4
+ version: 0.8.62
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry