[PR #6] [MERGED] Admin Page Updates #80

Closed
opened 2026-02-25 23:39:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/HaschekSolutions/opentrashmail/pull/6
Author: @poblabs
Created: 10/3/2019
Status: Merged
Merged: 10/3/2019
Merged by: @geek-at

Base: masterHead: adminpage


📝 Commits (3)

  • 53e6c8d Reverse sort the list so new items are on top
  • 8e362be Do not add duplicate headers, and clear table for append
  • ad8deb4 Do not clearInterval on admin page

📊 Changes

2 files changed (+8 additions, -3 deletions)

View changed files

📝 web/api.php (+1 -1)
📝 web/js/opentrashmail.js (+7 -2)

📄 Description

Fixes some issues I've seen with the admin user and updates.

  1. This is a simple one, reverse sort the array so new items are on the top.
  2. Clear the #emailtable tr so the email list isn't appended non-stop. By clearing it before the updateEmailTable() runs, we just have the API email info.
  3. Added a class to the To column header name, so jQuery has something to look for so it'll stop adding the To column on every interval.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/HaschekSolutions/opentrashmail/pull/6 **Author:** [@poblabs](https://github.com/poblabs) **Created:** 10/3/2019 **Status:** ✅ Merged **Merged:** 10/3/2019 **Merged by:** [@geek-at](https://github.com/geek-at) **Base:** `master` ← **Head:** `adminpage` --- ### 📝 Commits (3) - [`53e6c8d`](https://github.com/HaschekSolutions/opentrashmail/commit/53e6c8dba27250cd936a123dce07a6c786160971) Reverse sort the list so new items are on top - [`8e362be`](https://github.com/HaschekSolutions/opentrashmail/commit/8e362bec245ecb2c8007d59b1843a0c43a6f862f) Do not add duplicate headers, and clear table for append - [`ad8deb4`](https://github.com/HaschekSolutions/opentrashmail/commit/ad8deb45bb430162ec3f06081b56d4da12826bc1) Do not clearInterval on admin page ### 📊 Changes **2 files changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `web/api.php` (+1 -1) 📝 `web/js/opentrashmail.js` (+7 -2) </details> ### 📄 Description Fixes some issues I've seen with the admin user and updates. 1. This is a simple one, reverse sort the array so new items are on the top. 2. Clear the `#emailtable` `tr` so the email list isn't appended non-stop. By clearing it before the `updateEmailTable()` runs, we just have the API email info. 3. Added a class to the `To` column header name, so jQuery has something to look for so it'll stop adding the `To` column on every interval. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:39:50 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentrashmail#80
No description provided.