[PR #792] set onbeforeunload when file changed #738 #1058

Open
opened 2026-03-02 16:03:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/prasathmani/tinyfilemanager/pull/792
Author: @non-bin
Created: 5/31/2022
Status: 🔄 Open

Base: masterHead: patch-3


📝 Commits (1)

📊 Changes

1 file changed (+65 additions, -1 deletions)

View changed files

📝 tinyfilemanager.php (+65 -1)

📄 Description

add event listeners to the text box to set the onbeforeunload function
For the advanced editor we need to listen for when the editor is loaded before we can attach the listeners
We need all the different listeners to check for context menu paste, and other edge cases


🔄 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/prasathmani/tinyfilemanager/pull/792 **Author:** [@non-bin](https://github.com/non-bin) **Created:** 5/31/2022 **Status:** 🔄 Open **Base:** `master` ← **Head:** `patch-3` --- ### 📝 Commits (1) - [`a4445aa`](https://github.com/prasathmani/tinyfilemanager/commit/a4445aab5c19a2b72470c3bdc4886d30f35ea6f7) set onbeforeunload when file changed #738 ### 📊 Changes **1 file changed** (+65 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tinyfilemanager.php` (+65 -1) </details> ### 📄 Description add event listeners to the text box to set the onbeforeunload function For the advanced editor we need to listen for when the editor is loaded before we can attach the listeners We need all the different listeners to check for context menu paste, and other edge cases --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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/tinyfilemanager#1058
No description provided.