Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Extensions
form-processor
Commits
042905e0
Commit
042905e0
authored
Dec 28, 2020
by
jaapjansma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed performance issue on large form processrs.
parent
47aac8c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
CHANGELOG.md
CHANGELOG.md
+2
-0
ang/form_processor/FormProcessorEditCtrl.js
ang/form_processor/FormProcessorEditCtrl.js
+3
-0
ang/form_processor/FormProcessorEditCtrl/DefaultDataOutputTable.html
...ocessor/FormProcessorEditCtrl/DefaultDataOutputTable.html
+3
-2
No files found.
CHANGELOG.md
View file @
042905e0
Version 1.22 (not yet released)
============
*
Fixed performance issue on large form processrs.
Version 1.21
============
...
...
ang/form_processor/FormProcessorEditCtrl.js
View file @
042905e0
...
...
@@ -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
'
);
});
});
});
...
...
ang/form_processor/FormProcessorEditCtrl/DefaultDataOutputTable.html
View file @
042905e0
...
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment