mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:10:12 +01:00
Display warning if no message is selected when removing
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
936f27c7a5
commit
c8119d542b
@ -487,3 +487,5 @@ $_['text_deleted'] = "Deleted";
|
||||
$_['text_reason_of_rejection'] = "Reason of rejection";
|
||||
$_['text_reject'] = "Reject";
|
||||
$_['text_user_data_officer'] = "Data officer";
|
||||
|
||||
$_['text_no_selected_message'] = "no selected message";
|
||||
|
@ -494,3 +494,5 @@ $_['text_deleted'] = "Deleted";
|
||||
$_['text_reason_of_rejection'] = "Reason of rejection";
|
||||
$_['text_reject'] = "Reject";
|
||||
$_['text_user_data_officer'] = "Data officer";
|
||||
|
||||
$_['text_no_selected_message'] = "no selected message";
|
||||
|
@ -237,6 +237,7 @@ $_['text_no_domain_found'] = 'No domain found';
|
||||
$_['text_no_email_found'] = 'No email found';
|
||||
$_['text_no_message_in_the_quarantine'] = "No message in the quarantine matching the search criteria";
|
||||
$_['text_no_records'] = "No records";
|
||||
$_['text_no_selected_message'] = "no selected message";
|
||||
$_['text_no_sender'] = "no sender";
|
||||
$_['text_no_spam_message_in_the_quarantine_yet'] = "No spam message in the quarantine yet";
|
||||
$_['text_no_subject'] = "no subject";
|
||||
|
@ -492,3 +492,5 @@ $_['text_deleted'] = "Deleted";
|
||||
$_['text_reason_of_rejection'] = "Reason of rejection";
|
||||
$_['text_reject'] = "Reject";
|
||||
$_['text_user_data_officer'] = "Data officer";
|
||||
|
||||
$_['text_no_selected_message'] = "no selected message";
|
||||
|
@ -489,3 +489,5 @@ $_['text_deleted'] = "Deleted";
|
||||
$_['text_reason_of_rejection'] = "Reason of rejection";
|
||||
$_['text_reject'] = "Reject";
|
||||
$_['text_user_data_officer'] = "Data officer";
|
||||
|
||||
$_['text_no_selected_message'] = "no selected message";
|
||||
|
@ -238,6 +238,7 @@ $_['text_no_domain_found'] = 'Nem találtam domaineket';
|
||||
$_['text_no_email_found'] = 'Nem találtam emaileket';
|
||||
$_['text_no_message_in_the_quarantine'] = "Nincs a keresési feltételnek megfelelő üzenet a karanténban";
|
||||
$_['text_no_records'] = "nincs találat";
|
||||
$_['text_no_selected_message'] = "nincs kijelölt üzenet";
|
||||
$_['text_no_sender'] = "nincs feladó";
|
||||
$_['text_no_spam_message_in_the_quarantine_yet'] = "Nincs spam a karanténban";
|
||||
$_['text_no_subject'] = "nincs tárgy";
|
||||
|
@ -489,3 +489,5 @@ $_['text_deleted'] = "Deleted";
|
||||
$_['text_reason_of_rejection'] = "Reason of rejection";
|
||||
$_['text_reject'] = "Reject";
|
||||
$_['text_user_data_officer'] = "Data officer";
|
||||
|
||||
$_['text_no_selected_message'] = "no selected message";
|
||||
|
@ -482,3 +482,5 @@ $_['text_deleted'] = "Deleted";
|
||||
$_['text_reject'] = "Reject";
|
||||
$_['text_reason_of_rejection'] = "Reason of rejection";
|
||||
$_['text_user_data_officer'] = "Data officer";
|
||||
|
||||
$_['text_no_selected_message'] = "no selected message";
|
||||
|
@ -490,3 +490,5 @@ $_['text_deleted'] = "Deleted";
|
||||
$_['text_reason_of_rejection'] = "Reason of rejection";
|
||||
$_['text_reject'] = "Reject";
|
||||
$_['text_user_data_officer'] = "Data officer";
|
||||
|
||||
$_['text_no_selected_message'] = "no selected message";
|
||||
|
@ -490,3 +490,5 @@ $_['text_deleted'] = "Deleted";
|
||||
$_['text_reason_of_rejection'] = "Reason of rejection";
|
||||
$_['text_reject'] = "Reject";
|
||||
$_['text_user_data_officer'] = "Data officer";
|
||||
|
||||
$_['text_no_selected_message'] = "no selected message";
|
||||
|
@ -372,7 +372,10 @@ var Piler =
|
||||
|
||||
var idlist = Piler.get_selected_messages_list();
|
||||
|
||||
if(!idlist) return;
|
||||
if(!idlist) {
|
||||
Piler.show_message('messagebox1', text_no_selected_message, 2.5);
|
||||
return;
|
||||
}
|
||||
|
||||
jQuery.ajax('/bulkremove.php', {
|
||||
data: { idlist: idlist, reason: reason },
|
||||
|
Loading…
Reference in New Issue
Block a user