This commit is contained in:
BoHung Chiu 2023-09-28 00:14:43 +08:00
parent b1f505d9d7
commit 9e1af5e918
1 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ protected
[I18n.locale]+(site.valid_locales-[I18n.locale])
end
def lang_panel_tabbable_wrapper(add_more_params,&block)
def lang_panel_tabbable_wrapper_for_sm(add_more_params,&block)
add_more_counter = ''
if self.markup=='text_area' #or self.markup=='address'
@ -324,7 +324,7 @@ protected
end
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 << add_more_unt if can_add_more
else #cross lang field