Fix counter front-end
This commit is contained in:
parent
37309a452d
commit
0a0298aaad
lib/parsers
|
@ -28,7 +28,7 @@ module ParserFrontEnd
|
||||||
ret << eval("\"#{front['path']}\"") rescue ''
|
ret << eval("\"#{front['path']}\"") rescue ''
|
||||||
fragment = Nokogiri::HTML::DocumentFragment.new(body, "<div class='dymanic_load widget' path='#{ret}'></div>")
|
fragment = Nokogiri::HTML::DocumentFragment.new(body, "<div class='dymanic_load widget' path='#{ret}'></div>")
|
||||||
else
|
else
|
||||||
fragment = Nokogiri::HTML::DocumentFragment.new(body, eval("#{front['value']}").to_s)
|
fragment = Nokogiri::HTML::DocumentFragment.new(body, "<div id='#{front['id']}' class='#{front['class']}'>eval('#{front['value']}'').to_s</div>" )
|
||||||
end
|
end
|
||||||
front.swap(fragment)
|
front.swap(fragment)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue