? Success

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
22 Jan 2015

Convert users notes mootools modal to BS modal

In users list view (/administrator/index.php?option=com_users&view=users), there is still a mootools modal. Needs some notes to reveal it!
This PR converts it to Bootstrap modal

Preview:

screen shot 2015-01-23 at 1 37 59

Testing

Create some user notes (/administrator/index.php?option=com_users&view=notes)
Apply patch
go to (/administrator/index.php?option=com_users&view=users) and click "display 1 note"

avatar dgt41 dgt41 - open - 22 Jan 2015
avatar jissues-bot jissues-bot - change - 22 Jan 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 23 Jan 2015
Category Administration
avatar zero-24 zero-24 - change - 23 Jan 2015
Easy No Yes
avatar losedk losedk - test_item - 27 Jan 2015 - Tested successfully
avatar losedk
losedk - comment - 27 Jan 2015

@test All good!

avatar waader
waader - comment - 27 Jan 2015

@test works for me!

avatar waader waader - test_item - 27 Jan 2015 - Tested successfully
avatar zero-24 zero-24 - change - 27 Jan 2015
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 27 Jan 2015

Thanks for testing and coding here! Moving to RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5873.
avatar dgt41
dgt41 - comment - 27 Jan 2015

Thanks for testing. @wilsonge @phproberto 3.5?

avatar wilsonge
wilsonge - comment - 27 Jan 2015

It's good for 3.4 (no layouts involved) but I'm not merging anything more until i release beta 1 tonight

avatar brianteeman brianteeman - change - 28 Jan 2015
Labels Added: ?
avatar wilsonge
wilsonge - comment - 29 Jan 2015

@test works fine.

@dgt41 before this patch (and still now) if you have debug enabled it's completely broken in the modal. Can you look into that please?

avatar wilsonge wilsonge - test_item - 29 Jan 2015 - Tested successfully
avatar wilsonge wilsonge - close - 29 Jan 2015
avatar zero-24 zero-24 - close - 29 Jan 2015
avatar wilsonge wilsonge - change - 29 Jan 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-01-29 01:18:22
avatar wilsonge
wilsonge - comment - 29 Jan 2015

Merged this. Thanks!

avatar dgt41
dgt41 - comment - 29 Jan 2015

@wilsonge
We can use this code:

        // Also skip for the component output
        $tmpl = JFactory::getApplication()->input->getCmd('tmpl', '');
        if (isset($tmpl) && $tmpl == 'component')
        {
            return;
        }

here: https://github.com/joomla/joomla-cms/blob/staging/plugins/system/debug/debug.php#L120

But I don’t know if we need an option in the plugin as well, any thoughts?

avatar wilsonge
wilsonge - comment - 29 Jan 2015

The problem is in some frontend areas people render component only output and will expect debug to show :/ so i don't think it's that easy to do it for all component only views

avatar dgt41
dgt41 - comment - 29 Jan 2015

I think it needs to be controlled in the plugin somehow. Front end, back end will also make some devs unhappy… I am not sure also, maybe raising an issue and get some feedback?

avatar dgt41
dgt41 - comment - 29 Jan 2015

@wilsonge Actually the problem comes from the new sidebar

avatar dgt41
dgt41 - comment - 29 Jan 2015
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment