Project

General

Profile

Actions

Bug #14784

closed

FE-Editing in new Popups => Page doesnt reload

Added by old_heldenschreck over 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-06-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Frontend-Editing with new PopUp-Windows:
After Save&Close the Page does not automatically reload as in Typo 3.7.
So manually Refresh is necessary.

(issue imported from #M1149)


Files

close.html (731 Bytes) close.html Administrator Admin, 2006-01-07 03:26
close-1.html (731 Bytes) close-1.html Administrator Admin, 2006-01-07 04:54
Actions #1

Updated by Christian Trabold about 19 years ago

If a user changes the pagecontent in the Popup-Window via frontend-editing, the page ("the opener") should get a refresh signal, so the saved data gets visible right away.

It would be cool, if the page gets only refreshed, if data actually changed (saves server performance).

Actions #2

Updated by Sebastian Kurfuerst about 19 years ago

Hi,
I currently don't have any time to investigate this, but a patch would be very welcome to fix this a bit annoying issue.
Greets, Sebastian

Actions #3

Updated by Martin Klaus almost 19 years ago

Very annoying issue and still there in Typo3 4.0beta1 ...

Actions #4

Updated by Martin Klaus almost 19 years ago

Hi Sebastian,
Any news on this issue?
regards,
Martin

Actions #5

Updated by Martin Kutschker almost 19 years ago

On save-and-close this JS code must be executed:

window.opener.location.reload(true);

For close a way has to be found, if any changes have occured since the opening of the window. But where to track? A save will re-load the form page.

Actions #6

Updated by Martin Klaus almost 19 years ago

added "window.opener.location.reload(true);" to file typo3/close.html which is called from alt_doc.php if you press the "close" or "save_and_close" button:

----- typo3/close.php -----
<script type="text/javascript">
/*<![CDATA[*/
self.close();
window.opener.location.reload(true);
/*]]>*/
</script>
-----

The reloading of the frontend page has to be done in close.html, to be sure that the database update has been finished!

Actions #7

Updated by Martin Klaus almost 19 years ago

Hi Martin,

Do you think, it would be a big problem if the frontend page gets reloaded after closing the edit window even if there was no change since opening the edit window?
In my opinion this little performance penalty is much less annoying than no reload at all after changing the content in FEedit.

Actions #8

Updated by Martin Klaus almost 19 years ago

update:
"self.close()" has to be called before "window.opener.location.reload(true)" else there might be problems like nonclosing edit windows in backend.

(see: close-1.html)

Actions #9

Updated by Martin Klaus almost 19 years ago

Now i have created a bugfix for this problem. (close-1.html)
(i think a unified diff won't be necessary in this case , but i will create one if needed)
Could you please have a look at it. It would be very nice if this "gremlin" could be fixed in Typo3 v4.0

thanks in advance

Actions #10

Updated by Sebastian Kurfuerst almost 19 years ago

fixed in CVS.

Actions

Also available in: Atom PDF