mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-01 10:13:33 +08:00
Disable turbolinks on search links to fix JS errors [SCI-452]
This commit is contained in:
parent
213425b493
commit
ad39d09a53
1 changed files with 3 additions and 2 deletions
|
@ -11,10 +11,11 @@ module SearchHelper
|
||||||
if search_team != current_team
|
if search_team != current_team
|
||||||
link_to text,
|
link_to text,
|
||||||
path,
|
path,
|
||||||
data: { confirm: t('users.settings.changed_team_in_search',
|
data: { no_turbolink: true,
|
||||||
|
confirm: t('users.settings.changed_team_in_search',
|
||||||
team: search_team.name) }
|
team: search_team.name) }
|
||||||
else
|
else
|
||||||
link_to text, path
|
link_to text, path, data: { no_turbolink: true }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue