Merge pull request #1884 from mbeijen/do-you-to
User permissions: fix typo in popup
This commit is contained in:
commit
b103ffb9fb
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class App.UiElement.user_permission
|
|||
if localRole
|
||||
localElement = item.find("[name=role_ids][value=#{localRole.id}]")
|
||||
if localElement.prop('checked')
|
||||
if !confirm(App.i18n.translateInline('Role %s is conflicting with role %s, do you to continue?', role.name, localRole.name, localRole.name))
|
||||
if !confirm(App.i18n.translateInline('Role %s is conflicting with role %s, do you want to continue?', role.name, localRole.name, localRole.name))
|
||||
item.find("[name=role_ids][value=#{role_id}]").prop('checked', false)
|
||||
return
|
||||
item.find("[name=role_ids][value=#{localRole.id}]").prop('checked', false)
|
||||
|
|
Loading…
Reference in a new issue