|
...
|
...
|
@@ -247,11 +247,10 @@ module Kanjai |
|
247
|
247
|
|
|
248
|
248
|
else
|
|
249
|
249
|
condition_process = true
|
|
250
|
|
- p '!!!!!!!!!!!!!!!!!!!!!!'
|
|
251
|
|
- p hash_value
|
|
252
|
|
- p item[:attributes]['id']
|
|
|
250
|
+
|
|
253
|
251
|
if item[:name] == 'condition' && @page_content.present? && item[:attributes] && item[:attributes]['id']
|
|
254
|
|
- condition_process = hash_value[item[:attributes]['id']].to_i == 1
|
|
|
252
|
+ condition_process = hash_value[item[:attributes]['id']].to_i == 1 if item[:attributes]['type'].to_s.empty? || item[:attributes]['type'].to_s == 'enable'
|
|
|
253
|
+ condition_process = hash_value[item[:attributes]['id']].to_i == 0 if item[:attributes]['type'].to_s == 'disable'
|
|
255
|
254
|
end
|
|
256
|
255
|
|
|
257
|
256
|
|
...
|
...
|
|