From f2a7d3ae86900e77dba003bb9c712d2eaee070f1 Mon Sep 17 00:00:00 2001 From: yuri Date: Fri, 5 Feb 2016 11:06:31 +0200 Subject: [PATCH] fix array --- frontend/client/src/views/fields/array-int.js | 2 +- frontend/client/src/views/fields/array.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/client/src/views/fields/array-int.js b/frontend/client/src/views/fields/array-int.js index 9cd32c1624..acbd563fb9 100644 --- a/frontend/client/src/views/fields/array-int.js +++ b/frontend/client/src/views/fields/array-int.js @@ -26,7 +26,7 @@ * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. ************************************************************************/ -Espo.define('Views.Fields.ArrayInt', 'Views.Fields.Array', function (Dep) { +Espo.define('views/fields/array-int', 'views/fields/array', function (Dep) { return Dep.extend({ diff --git a/frontend/client/src/views/fields/array.js b/frontend/client/src/views/fields/array.js index 6cfd1efad2..55cd091dd1 100644 --- a/frontend/client/src/views/fields/array.js +++ b/frontend/client/src/views/fields/array.js @@ -130,6 +130,10 @@ Espo.define('views/fields/array', ['views/fields/base', 'lib!Selectize'], functi } }, + setupOptions: function () { + + }, + afterRender: function () { if (this.mode == 'edit') { this.$list = this.$el.find('.list-group');