Skip to content

Fix Blog export dialog styling on DNN 10#228

Open
Forro-54 wants to merge 1 commit into
DNNCommunity:developmentfrom
Forro-54:fix/blog-export-dialog-dnn10
Open

Fix Blog export dialog styling on DNN 10#228
Forro-54 wants to merge 1 commit into
DNNCommunity:developmentfrom
Forro-54:fix/blog-export-dialog-dnn10

Conversation

@Forro-54

Copy link
Copy Markdown

The Export dialog was created correctly, but the DNN popup classes supplied through the legacy dialogClass option were not reliably applied to the generated jQuery UI dialog wrapper.

This caused the Export title, instructions, download link, and buttons to appear outside a properly styled popup.

Changes
Applies dnnFormPopup, dnnClear, and dnnBlogExportPopup directly to the generated dialog widget when it opens.
Retains the original dialogClass option for compatibility with older DNN and jQuery UI versions.
Scopes the Export and Cancel button selectors to the current Export dialog.
Testing

Tested successfully on:

DNN 9.13.1
clean DNN 10.3.2 installation
production DNN 10.3.2 installation
BlogML export and download
Blog import

This pull request changes only:

Server/Blog/Manage.ascx

Close #227

The Blog export dialog was being created correctly, but DNN 10 did not reliably apply the classes supplied through the legacy dialogClass option to the generated jQuery UI dialog wrapper.

This caused the Export title, text, download link, and buttons to appear outside a properly styled popup.

This change retrieves the generated dialog widget when it opens and applies the required DNN popup classes directly:

dnnFormPopup
dnnClear
dnnBlogExportPopup

The button-pane selectors were also scoped to the current Export dialog to avoid affecting other dialogs on the page.

Tested successfully on:

DNN 9.13.1
clean DNN 10.3.2 installation
production DNN 10.3.2 installation
Blog export and BlogML download
Blog import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export dialog is malformed and unusable on DNN 10.3.2

1 participant