brick 1.0.164 → 1.0.165
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b468405e9a44d6c7a2a42684eca03309905080c11b2a0b49c3823675308a7176
|
4
|
+
data.tar.gz: cfdb865f37b1b2e9aee8a88685ce48b61e465fcbda924a9089c20b361e1a9fa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53a1d6f0c6bbb01da0ee1288d8c74111322f5a9b15043f61b09270b215322cda34309a5ecdf88cff5cfdea307f8ed1cb92f7ed58bb3aceff1e58bc5e0052a09d
|
7
|
+
data.tar.gz: ce8128a98b0c645bcf8fd1002ec4329ac8b88efc42a112f158a3abcc33373205753b8476d262729ae9b1329d280a129f76f52d467d95c7be99ad3dd48e0b63bb
|
@@ -2002,7 +2002,7 @@ document.querySelectorAll(\"input, select\").forEach(function (inp) {
|
|
2002
2002
|
send(:root, action)
|
2003
2003
|
end
|
2004
2004
|
end
|
2005
|
-
::Brick.established_drf = "/#{::Brick.config.path_prefix}#{
|
2005
|
+
::Brick.established_drf = "/#{::Brick.config.path_prefix}#{action[action.index('#')..-1]}"
|
2006
2006
|
end
|
2007
2007
|
end
|
2008
2008
|
|
@@ -66,8 +66,8 @@ module Brick::Rails::FormTags
|
|
66
66
|
s << "title=\"#{col.comment}\" " if col.respond_to?(:comment) && !col.comment.blank?
|
67
67
|
s << if (bt = bts[col_name])
|
68
68
|
# Allow sorting for any BT except polymorphics
|
69
|
-
"x-order=\"#{bt.first.to_s + '"' unless bt[2]
|
70
|
-
bt[1].map { |bt_pair| bt_pair.first.bt_link(bt.first) }.join(' ')
|
69
|
+
x_order = "x-order=\"#{bt.first.to_s + '"'}" unless bt[2]
|
70
|
+
"#{x_order}>BT #{bt[1].map { |bt_pair| bt_pair.first.bt_link(bt.first) }.join(' ')}"
|
71
71
|
else # Normal column
|
72
72
|
col_name_humanised = klass.human_attribute_name(col_name, { default: col_name })
|
73
73
|
"x-order=\"#{col_name + '"' if true}>#{col_name_humanised}"
|
data/lib/brick/version_number.rb
CHANGED