[MAGNOLIA-64] Edit window does not close Created: 15/Aug/04  Updated: 02/Sep/04  Resolved: 02/Sep/04

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 2.0 Final
Fix Version/s: 2.0 Final

Type: Bug Priority: Major
Reporter: sala Assignee: Vinzenz Wyser
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS X 10.3.5. Safari 1.2.3


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Clicking on the save button does save content, but the edit window is not closed and the page is not reloaded.



 Comments   
Comment by Michael Mertel [ 02/Sep/04 ]

This bug is caused by the missing JavaScript function mgnlUpdateCK().

A quick hack is to include \admindocroot\js\general.js, this
is best done in \admintemplates\dialogs\standard.jsp, e.g.

// starting at line 60
out.println("<html>");
//todo: js src dynamical
out.println("<script type=\"text/javascript\" src=\"/admindocroot/js/general.js\"></script>");
out.println("<script type=\"text/javascript\" src=\"/admindocroot/js/dialogs/dialogs.js\"></script>");
out.println("<script>");
out.println("mgnlDialogReloadOpener();");
out.println("window.close();");
out.println("</script></html>");

--Michael

Generated at Mon Feb 12 03:13:44 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.