Skip to content
Snippets Groups Projects
Commit b439474a authored by yashodha's avatar yashodha Committed by Kurund Jalmi
Browse files

CRM-14070, fixes - Suppress 'limit_to' drop down when Entity is 'Activity'

parent 6a7f5c01
No related branches found
No related tags found
No related merge requests found
......@@ -221,6 +221,11 @@
cj('#mode').change(function () {
loadMsgBox();
});
showHideLimitTo();
cj('#entity_0').change(function () {
showHideLimitTo();
});
});
function loadMsgBox() {
......@@ -241,16 +246,26 @@
}
}
cj(function() {
if ( cj('#is_recipient_listing').val( ) ) {
cj('#recipientList').show();
} else {
cj('#recipientList').hide();
}
cj('#recipient').change( function( ) {
populateRecipient();
});
});
function showHideLimitTo() {
if (cj('#entity_0').val() == 1) {
cj('#limit_to').hide();
}
else {
cj('#limit_to').show();
}
}
cj(function () {
if (cj('#is_recipient_listing').val()) {
cj('#recipientList').show();
}
else {
cj('#recipientList').hide();
}
cj('#recipient').change(function () {
populateRecipient();
});
});
function populateRecipient( ) {
var recipient = cj("#recipient option:selected").val();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment