fix massive custom event responses
Former-commit-id: 24db40167b05bfd7fe4de88060f03a7a0ec38e73
This commit is contained in:
parent
5a8e46d608
commit
efa2e5332f
|
@ -971,14 +971,6 @@ else {
|
|||
$('#button-submit_event_response').hide(function() {
|
||||
$('#response_loading_dialog').show(function() {
|
||||
|
||||
var total_checked = $(".chk_val:checked").length;
|
||||
|
||||
// Limit number of events to apply custom responses to for performance reasons
|
||||
if (total_checked > 10) {
|
||||
$('#max_custom_event_resp_msg').show();
|
||||
return;
|
||||
}
|
||||
|
||||
$(".chk_val").each(function() {
|
||||
|
||||
if ($(this).is(":checked")) {
|
||||
|
@ -1002,14 +994,6 @@ else {
|
|||
$('#button-btn_str').hide(function() {
|
||||
$('#execute_again_loading').show(function() {
|
||||
|
||||
var total_checked = $(".chk_val:checked").length;
|
||||
|
||||
// Limit number of events to apply custom responses to for performance reasons
|
||||
if (total_checked > 10) {
|
||||
$('#max_custom_event_resp_msg').show();
|
||||
return;
|
||||
}
|
||||
|
||||
$(".chk_val").each(function() {
|
||||
|
||||
if ($(this).is(":checked")) {
|
||||
|
|
Loading…
Reference in New Issue