Fixed issue #2599 - Activation of Knowledgebase is impossible on IE11 - agent interface
This commit is contained in:
parent
80294b0b51
commit
8b435e2295
2 changed files with 2 additions and 2 deletions
|
@ -313,7 +313,7 @@ class App.KnowledgeBaseAgentController extends App.Controller
|
|||
.map (model) ->
|
||||
newIds = Object.keys data[model]
|
||||
oldIds = App[model].all().map (elem) -> elem.id
|
||||
diff = oldIds.filter (elem) -> !newIds.includes(String(elem))
|
||||
diff = oldIds.filter (elem) -> !_.includes(newIds, String(elem))
|
||||
|
||||
{modelName: model, ids: diff}
|
||||
, {}
|
||||
|
|
|
@ -46,7 +46,7 @@ class App.MultiLocales extends App.Controller
|
|||
.filter (elem) -> elem && elem != self_value
|
||||
|
||||
App.Locale.all().filter (elem) ->
|
||||
!takenCodes.includes(String(elem.id))
|
||||
!_.includes(takenCodes, String(elem.id))
|
||||
|
||||
remove: (e) ->
|
||||
domRow = $(e.currentTarget).closest('tr')[0]
|
||||
|
|
Loading…
Reference in a new issue