Commit 042905e0 authored by jaapjansma's avatar jaapjansma
Browse files

Fixed performance issue on large form processrs.

parent 47aac8c0
Version 1.22 (not yet released)
============
* Fixed performance issue on large form processrs.
Version 1.21
============
......
......@@ -97,6 +97,9 @@
var originalDefaultDataOutputConfiguration = $scope.formProcessor.default_data_output_configuration;
$scope.default_data_fields = fields;
$scope.formProcessor.default_data_output_configuration = originalDefaultDataOutputConfiguration;
$timeout(function() {
$("select.defaultDataOutputSelect2").trigger('change.select2');
});
});
});
......
......@@ -9,10 +9,11 @@
<tr ng-repeat="input in formProcessor.inputs | orderBy:'name'" ng-class-even="'crm-entity even-row even'" ng-class-odd="'crm-entity odd-row odd'">
<td>{{input.name}}</td>
<td>
<select class="huge40"
<select class="huge40 defaultDataOutputSelect2"
name="{{input.name}}"
crm-ui-id="defaultData.{{input.name}}"
crm-ui-select="{dropdownAutoWidth : true, allowClear: true}"
ui-jq="select2"
ui-options="{dropdownAutoWidth : true, allowClear: true}"
ng-model="formProcessor.default_data_output_configuration[input.name]"
ng-required="false"
>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment