Skip to content
Snippets Groups Projects
Commit 833ebb3e authored by deuce's avatar deuce
Browse files

Set a can_delete property for the current sub.

parent 4f9a60b1
No related branches found
No related tags found
No related merge requests found
......@@ -21,9 +21,11 @@ var msgcount=0;
var msgarray;
if(sub=='mail') {
msgarray=get_my_message_offsets();
template.can_delete=true;
}
else {
msgarray=get_all_message_offsets();
template.can_delete=msg_area.grp_list[g].sub_list[s].is_operator;
}
var total_pages=Math.floor(msgarray.length/max_messages);
var firstpage=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment