Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
2713c2ab
Unverified
Commit
2713c2ab
authored
8 months ago
by
totten
Committed by
GitHub
8 months ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #30818 from eileenmcnaughton/575_i
#5370
Fix bug handling soft credits in civi-import
parents
0bfc70bc
c3f37a80
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ext/civiimport/ang/crmCiviimport.js
+11
-1
11 additions, 1 deletion
ext/civiimport/ang/crmCiviimport.js
with
11 additions
and
1 deletion
ext/civiimport/ang/crmCiviimport.js
+
11
−
1
View file @
2713c2ab
...
...
@@ -257,6 +257,7 @@
* @type {$scope.save}
*/
$scope
.
save
=
(
function
(
$event
)
{
$event
.
preventDefault
();
$scope
.
userJob
.
metadata
.
entity_configuration
=
{};
$scope
.
userJob
.
metadata
.
import_mappings
=
[];
_
.
each
(
$scope
.
entitySelection
,
function
(
entity
)
{
...
...
@@ -280,7 +281,16 @@
entity_data
:
entityConfig
});
});
crmApi4
(
'
UserJob
'
,
'
save
'
,
{
records
:
[
$scope
.
userJob
]});
crmApi4
(
'
UserJob
'
,
'
save
'
,
{
records
:
[
$scope
.
userJob
]})
.
then
(
function
(
result
)
{
// Only post the form if the save succeeds.
document
.
getElementById
(
"
MapField
"
).
submit
();
},
function
(
failure
)
{
// @todo add more error handling - for now, at least we waited...
document
.
getElementById
(
"
MapField
"
).
submit
();
}
);
});
$scope
.
load
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment