mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 22:12:26 +01:00 
			
		
		
		
	Display warning if no message is selected when removing
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
		| @@ -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"; | ||||
|   | ||||
| @@ -474,8 +474,8 @@ $_['text_user_delete_confirm_message'] = 'Вы хотите удалить по | ||||
| $_['text_domain_delete_confirm_message'] = 'Вы хотите удалить домен';                                                                                                          | ||||
| $_['text_group_delete_confirm_message'] = 'Вы хотите удалить группу';                                                                                                          | ||||
| $_['text_ldap_delete_confirm_message'] = 'Вы хотите удалить настройки LDAP';                                                                                                   | ||||
| $_['text_customer_delete_confirm_message'] = 'Вы хотите уделить потребителя';                                                                                                  | ||||
| $_['text_with_selected'] = 'С выделенным';                                                                                    | ||||
| $_['text_customer_delete_confirm_message'] = 'Вы хотите уделить потребителя'; | ||||
| $_['text_with_selected'] = 'С выделенным'; | ||||
|  | ||||
| $_['text_assigned_email_addresses'] = "Assigned email addresses"; | ||||
| $_['text_storage'] = "Storage"; | ||||
| @@ -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 }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user