caboose-cms 0.7.69 → 0.7.70

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: 51b8dc8334624cbf19e02ab2fc669a38c862629e
4
- data.tar.gz: c158e197cd3c262143653c4031be3ea808acef20
3
+ metadata.gz: 94e48a620f536176ccf6ee33e90e59b8331c752d
4
+ data.tar.gz: 7dc5ab55f600522400b39c22979643e23ebbc94b
5
5
  SHA512:
6
- metadata.gz: 7fe74a816e609a0318d85aad314199bd07052d09ad8a9ca891a80d999d9bd8605f87c4e74360bcfd167a674a7f02671349097dbf424d40d1724ef791992c0660
7
- data.tar.gz: c19fadffa0705812203baa1b3fdaf646262c930c65d7cf42d89e49afea974e1bb031f989e95f9f4098c0cc1ea969c9d07e3b8abb2fc0590ce2912bceb544fcef
6
+ metadata.gz: a5127d554da77f633376092e414714fc973f7e1a16f079b371e267e2beefc3725b2c1938dd5fc3f6469e485f1e39a3cea3394654260541351e31ede0cbfb34c7
7
+ data.tar.gz: 2f223ec65ff19aa7e7098b6d7b64d2e12fe3353633122d57f8fd1088a1b01960a252a2d8e8c27b37710d0d79b365780950aa663ee55e3122a36cd59a6fe7d13a
@@ -87,6 +87,8 @@ IndexTable.prototype = {
87
87
  new_model_fields: [{ name: 'name', nice_name: 'Name', type: 'text', width: 400 }],
88
88
  search_fields: false,
89
89
  custom_row_controls: false,
90
+ after_print: false,
91
+ table_class: 'data',
90
92
 
91
93
  //============================================================================
92
94
  // End of parameters
@@ -262,7 +264,7 @@ IndexTable.prototype = {
262
264
  $.each(that.models, function(i, m) {
263
265
  tbody.append(that.table_row(m));
264
266
  });
265
- table = $('<table/>').addClass('data').css('margin-bottom', '10px').append(tbody);
267
+ table = $('<table/>').addClass(that.table_class).css('margin-bottom', '10px').append(tbody);
266
268
  pager_div = this.pager_div();
267
269
  }
268
270
 
@@ -325,6 +327,7 @@ IndexTable.prototype = {
325
327
  }
326
328
  });
327
329
  }
330
+ if (that.after_print) that.after_print();
328
331
  },
329
332
 
330
333
  all_models_selected: function()
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.7.69'
2
+ VERSION = '0.7.70'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.69
4
+ version: 0.7.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-05 00:00:00.000000000 Z
11
+ date: 2016-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg