As a developer I understand the form and dialogs API so that I can use and extend them quickly (MGNLUI-921)

[MGNLUI-952] Must be able to able to have a Dialog with or without a close button. Created: 22/Mar/13  Updated: 08/Apr/13  Resolved: 22/Mar/13

Status: Closed
Project: Magnolia UI
Component/s: dialogs
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Sub-task Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Christopher Zimmermann
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLUI-627 Restore the close icon in dialog headers Closed
Template:
Sprint: Alpha 3, Iteration 2013-12, Iteration 2013-13

 Description   

All dialogs should have a close button which is invisible by default.
BaseDialogPresenter gets a ShowCloseButton() method which enables a caller to add the close button - for example when a modal is created.

Currently FormDialogPresenterImpl calls it immediately before adding a dialogCloseHandler.

A cascade of classes handle ShowCloseButton() all the way to the DialogHeaderWidget on the client side where the button is rendered.



 Comments   
Comment by Christopher Zimmermann [ 22/Mar/13 ]

Now dialogs have a hidden close button, and a showCloseButton().

Generated at Mon Feb 12 08:41:55 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.