Fix bug.
This commit is contained in:
parent
b1f505d9d7
commit
9e1af5e918
|
@ -211,7 +211,7 @@ protected
|
||||||
[I18n.locale]+(site.valid_locales-[I18n.locale])
|
[I18n.locale]+(site.valid_locales-[I18n.locale])
|
||||||
end
|
end
|
||||||
|
|
||||||
def lang_panel_tabbable_wrapper(add_more_params,&block)
|
def lang_panel_tabbable_wrapper_for_sm(add_more_params,&block)
|
||||||
add_more_counter = ''
|
add_more_counter = ''
|
||||||
|
|
||||||
if self.markup=='text_area' #or self.markup=='address'
|
if self.markup=='text_area' #or self.markup=='address'
|
||||||
|
@ -324,7 +324,7 @@ protected
|
||||||
end
|
end
|
||||||
|
|
||||||
if can_muti_lang_input_for_sm?
|
if can_muti_lang_input_for_sm?
|
||||||
result << lang_panel_tabbable_wrapper(add_more_params,&block)
|
result << lang_panel_tabbable_wrapper_for_sm(add_more_params,&block)
|
||||||
result << gen_modal_dialog if self.markup == "address"
|
result << gen_modal_dialog if self.markup == "address"
|
||||||
# result << add_more_unt if can_add_more
|
# result << add_more_unt if can_add_more
|
||||||
else #cross lang field
|
else #cross lang field
|
||||||
|
|
Loading…
Reference in New Issue