Skip to content

Commit

Permalink
Hotfix - Personas y Organizaciones - Condición para aviso cuando emai…
Browse files Browse the repository at this point in the history
…l masivo (#504)
  • Loading branch information
enricsinergia authored Dec 19, 2024
1 parent 8da35b6 commit 0464c4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/javascript/EmailsComposeViewModal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,14 @@

$.fn.openComposeViewModal = function (source) {
"use strict";

window.event.preventDefault();
window.event.stopImmediatePropagation();
// STIC-Custom 20241003 EPS - Warning when entire list selected
// https://github.com/SinergiaTIC/SinergiaCRM/pull/418
if($("[name='select_entire_list']").val() == 1) {
// https://github.com/SinergiaTIC/SinergiaCRM/pull/504
// if($("[name='select_entire_list']").val() == 1) {
if(document.MassUpdate.select_entire_list.value == 1) {
alert(SUGAR.language.get('app_strings', 'LBL_EMAIL_SENDING_ALERT_CURRENT_PAGE'));
}
// END STIC-Custom
Expand Down

0 comments on commit 0464c4a

Please sign in to comment.