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

Fixed dialog theme inheritance (issue 1375)#2108

Closed
BradBroulik wants to merge 2 commits into
jquery-archive:masterfrom
BradBroulik:master
Closed

Fixed dialog theme inheritance (issue 1375)#2108
BradBroulik wants to merge 2 commits into
jquery-archive:masterfrom
BradBroulik:master

Conversation

@BradBroulik
Copy link
Copy Markdown

Users can now override the dialog's theme with data-theme attributes.

@scottjehl
Copy link
Copy Markdown

Thanks! I could be wrong, but I believe this is fixed in Master as of today. Can you confirm, and if so, would you mind resubmitting your pull with just the unit tests? thanks!

@scottjehl scottjehl closed this Jul 20, 2011
@BradBroulik
Copy link
Copy Markdown
Author

Appreciate the update. The new page.sections has chanced the precedence rules for the header/footer inheritance. This is causing my tests to fail so I want to verify what the expected precedence order should be.

Previously, the header theme precedence was:

  1. header's data-theme
  2. page/dialog data-theme
  3. default to theme 'a'

Currently, the header theme precedence is (2 & 3 are now swapped):

  1. header's data-theme
  2. $.mobile.page.prototype.options.headerTheme = 'a'
  3. page/dialog data-theme

What's the expected theme precedence?

Thanks,
Brad


From: scottjehl reply@reply.github.com
To: bbroulik@yahoo.com
Sent: Wednesday, July 20, 2011 6:15 PM
Subject: Re: [jquery-mobile] Fixed dialog theme inheritance (issue 1375) (#2108)

Thanks! I could be wrong, but I believe this is fixed in Master as of today. Can you confirm, and if so, would you mind resubmitting your pull with just the unit tests? thanks!

Reply to this email directly or view it on GitHub:
#2108 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants