Project

General

Profile

Actions

Bug #72238

closed

After renaming a page only reload current page if it's the renamed one

Added by Martin Gebert almost 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2015-12-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

A page can be renamed by double clicking it in the pagetree. Once the renaming is done, the page currently loaded in the backends main frame is reloaded, no matter if it is the renamed page or not. This reloading should only happen if the page in the main frame is the renamed page. Otherwise the reloading should be skipped, because it makes no sense and might interrupt the users actions.

Steps to reproduce:
  • click page A in the pagetree to load the page in the main frame
  • double click page B in the pagetree
  • enter a new page name for page B (page A is still loaded in the main frame)
  • (do not press enter)
  • double click page A in the page tree

Current behaviour:
page A will be reloaded in the main frame.

Proposed behaviour:
page A will not be reloaded in the main frame.

The reload is caused by this line: https://github.com/TYPO3/TYPO3.CMS/blob/539644a7dbb5f807450185bd9e474a48d793ad97/typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/actions.js#L778

Actions

Also available in: Atom PDF