parent
9e499d2a5e
commit
c995f57877
3 changed files with 23 additions and 32 deletions
|
|
@ -1,13 +0,0 @@
|
|||
module ProposalHelper
|
||||
def generate_abstract_length_js(conference)
|
||||
str = ''
|
||||
conference.event_types.map do |t|
|
||||
str += "if ($('select option:selected').text() == '#{t.title}') {\n"
|
||||
str += "str = '#{t.maximum_abstract_length}';\n"
|
||||
str += "min_str = '#{t.minimum_abstract_length}';\n"
|
||||
str += "maxcount = #{t.maximum_abstract_length};\n"
|
||||
str += "}\n\n"
|
||||
end.join("\n")
|
||||
str
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue