fix array

This commit is contained in:
yuri
2016-02-05 11:06:31 +02:00
parent 3799dd739b
commit f2a7d3ae86
2 changed files with 5 additions and 1 deletions
@@ -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({
@@ -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');