? Pending

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
20 Nov 2017

Pull Request for Issue #18733

Summary of Changes

The modal now closes once you insert a page break into an article

avatar C-Lodder C-Lodder - open - 20 Nov 2017
avatar C-Lodder C-Lodder - change - 20 Nov 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Nov 2017
Category JavaScript
avatar dgt41
dgt41 - comment - 20 Nov 2017

Nope. This will not work with the tinyMCE modals

avatar C-Lodder
C-Lodder - comment - 20 Nov 2017

Do the TinyMCE modals use jModalClose?

avatar dgt41
dgt41 - comment - 20 Nov 2017

Yes, because apparently their modals are not booscrap (and why the should be?).

Anyhow there are couple of options here:

  • Provide a solid API as I have proposed way back
  • Modify the code in the modal section of bootstrap-init.js to expose a jModalClose method. But let's not do this, personally I hate global functions...
avatar C-Lodder
C-Lodder - comment - 20 Nov 2017

Or just wait till CE?

avatar brianteeman
brianteeman - comment - 20 Nov 2017

CE?

avatar C-Lodder
C-Lodder - comment - 20 Nov 2017

The modal custom element. Not idea what the verdict on that is though

avatar dgt41
dgt41 - comment - 20 Nov 2017

The status of the modal custom element is:

  • a11y tests passed
  • API is not finalised
  • we need solution for the sizing (css or js or a combo)
  • we need to decide the final html structure of the modal

@C-Lodder we have to organise a meeting this week or the next one to move things forward

avatar C-Lodder C-Lodder - change - 21 Nov 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-11-21 11:52:53
Closed_By C-Lodder
Labels Added: ?
avatar C-Lodder C-Lodder - close - 21 Nov 2017

Add a Comment

Login with GitHub to post a comment