Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
justinfreeman (Agileware)
Core
Commits
11796901
Commit
11796901
authored
11 years ago
by
Kurund Jalmi
Browse files
Options
Downloads
Plain Diff
Merge pull request #315 from deepak-srivastava/beta
CRM-12206
parents
fa355c1d
b5469340
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/CRM/common/batchCopy.tpl
+11
-1
11 additions, 1 deletion
templates/CRM/common/batchCopy.tpl
with
11 additions
and
1 deletion
templates/CRM/common/batchCopy.tpl
+
11
−
1
View file @
11796901
...
...
@@ -139,7 +139,17 @@
}
}
else
{
elementId
.
val
(
firstElementValue
).
change
();
if
(
elementId
.
is
(
'
select
'
)
===
true
&&
firstElement
.
parent
().
find
(
'
:input
'
).
select
().
index
()
>=
1
)
{
// its a multiselect case
firstElement
.
parent
().
find
(
'
:input
'
).
select
().
each
(
function
(
count
)
{
var
firstElementValue
=
cj
(
this
).
val
();
var
elementId
=
cj
(
'
.crm-copy-fields [name^="field["][name*="[
'
+
fname
+
'
][
'
+
count
+
'
"][type!=hidden]
'
);
elementId
.
val
(
firstElementValue
).
not
(
"
:first
"
).
change
();
});
}
else
{
elementId
.
val
(
firstElementValue
).
change
();
}
}
// since we use different display field for date we also need to set it.
...
...
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