Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Hide X/close button option on Dialogs #3886

Closed
@bradorego

Description

@bradorego

In a move toward a configurable "modal" native jqm dialog, there should be some way to hide the "X" button that appears on dialogs. I've hacked something together in my app to delete the button and to catch back-button events on specific pages, but I feel like this could be configurable (e.g. $.mobile.dialog.options.addBackBtn = false [default true]).

If we wanted to go a step further and make "modal" dialogs, we could do the back-button catch thing as well, and have that configurable as well (e.g. $.mobile.dialog.options.modal = true [default false]).

I'd love to get involved with jQM development, so if we think this is something that would be widely used, if someone could point me in the direction of working on jQM, I'd be more than happy to supply/refine my hack and start fixing other bugs :D

  • Brad

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions