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 +4 -4
- data/app/assets/javascripts/caboose/model/index_table.js +4 -1
- data/lib/caboose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94e48a620f536176ccf6ee33e90e59b8331c752d
|
4
|
+
data.tar.gz: 7dc5ab55f600522400b39c22979643e23ebbc94b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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()
|
data/lib/caboose/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|