mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
Display warning if no message is selected when removing
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -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