bhf 0.6.27 → 0.6.28
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2abb9bd53865cc8d99809706049a86d9b29dbd97
|
4
|
+
data.tar.gz: 76d5a606c381d4a9cf8f2e81a31922e1c9dcfacf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c8ba4ff2d93ca66ae2efe270ccd5c8a3e3f0c28a8167d283f0ef76d96d23e8d91e29aaba62cd6b767fc4521d686929c0837468b6b47a0b127a16a075e9091d2
|
7
|
+
data.tar.gz: 7ce4e66303a70fea248ce7eb72eb290a1402e2a0e7f7aba8883916e27cc9a0294e6dd5370a8177c89211b6ac984e39507bd1e5ad69110e4ac6a9a80d20f4eec4
|
@@ -29,8 +29,9 @@ var AjaxEdit = new Class({
|
|
29
29
|
this.injectForm(responseHTML);
|
30
30
|
eval(responseJavaScript);
|
31
31
|
|
32
|
-
|
33
|
-
|
32
|
+
var nextElem = this.holder.getElement('.save_and_next');
|
33
|
+
if (this.options.hideNext && nextElem) {
|
34
|
+
nextElem.addClass('hide');
|
34
35
|
}
|
35
36
|
|
36
37
|
window.fireEvent('quickEditReady', [this.holder]);
|
@@ -98,7 +98,7 @@ class Bhf::EntriesController < Bhf::ApplicationController
|
|
98
98
|
private
|
99
99
|
|
100
100
|
def object_to_bhf_display_hash
|
101
|
-
@platform.columns.each_with_object({to_bhf_s: @object.to_bhf_s, edit_path: edit_entry_path(@platform.name, @object), object_id: @object.id}) do |column, hash|
|
101
|
+
@platform.columns.each_with_object({to_bhf_s: @object.to_bhf_s, edit_path: edit_entry_path(@platform.name, @object), object_id: @object.id.to_s}) do |column, hash|
|
102
102
|
unless column.field.macro == :column && @object.send(column.name).blank?
|
103
103
|
p = "bhf/pages/macro/#{column.field.macro}/#{column.field.display_type}"
|
104
104
|
hash[column.name] = render_to_string partial: p, locals: {column: column, object: @object}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bhf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Pawlik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|