Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Asking confirmation for leaving the page, even if the note has already been saved

未关闭
#1,656 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
frontend

调研方向

按照列出的保存和关闭标签页步骤重现 Firefox 的行为,然后跟踪笔记编辑器对未保存更改确认的处理。验证在显式保存或自动保存后关闭页面不再显示提示,同时在存在未保存更改时离开仍能正确运行。

由索引模型根据 Issue 内容生成。

描述

bug need to reproduce

Steps to reproduce

  1. Create or edit a note
  2. Save note or wait until it has been saved automatically
  3. Close the tab or browser
Expected behaviour

Close tab or browser

Actual behaviour

Browser (latest Firefox) always asking confirmation for leaving the page

Server

Please complete the following information.

  • Notes app version: 4.12.3
  • Nextcloud version: 30.0.4
  • OS: Windows / linux Debian 12
  • Web server: Apache
  • PHP version: 8.3
  • Database: MariaDB 10.6.20

Client

Please complete the following information.

  • Browser (incl. version): Firefox 144.0
  • OS: Windows 10, Linux Debian 12

Log files

Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.

主要语言
JavaScript
星标
738
派生
162
平均合并
2 小时 29 分钟
30 天内合并 PR
42

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/notes 的其他 Issue

查看 nextcloud/notes 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。