Remove js from html

This commit is contained in:
chris2tof committed 2011-12-05 10:36:25 +08:00
1 parent 962bf03af2
commit 26b49dcf02
25 files changed
+101 -1206

No files matched your search

+12
View File
@@ -23,4 +23,16 @@ module Admin::ItemHelper
ret.html_safe
end
def render_children(parent)
if children = parent.children
ret = ''
ret << "<ul>"
children.each do |child|
ret << render_node_and_children(child)
end
ret << "</ul>"
ret
end
end
end
-12
View File
@@ -48,17 +48,5 @@ module ApplicationHelper
message % item
end
end
def render_children(parent)
if children = parent.children
ret = ''
ret << "<ul>"
children.each do |child|
ret << render_node_and_children(child)
end
ret << "</ul>"
ret
end
end
end