? Success

User tests: Successful: Unsuccessful:

avatar itbra
itbra
10 Oct 2014

It appears the hide event is not fired when triggering an element to show the tooltip. However, the hideme event is fired. This can easily be tested with the following code:

JHtml::_('bootstrap.tooltip', '.hasStickyTooltip', array(
    'onShow'   => 'function ( e ) {'
        .'alert("onShow executed")'.
    '}',
    'onShown'  => 'function ( e ) {'
        .'alert("onShown executed")'.
    '}',
    'onHide'   => 'function ( e ) {'
        .'alert("onHide executed")'.
    '}',
    'onHideMe' => 'function ( e ) {'
        .'alert("onHideMe executed")'.
    '}',
    'onHidden' => 'function ( e ) {'
        .'alert("onHidden executed")'.
    '}'
));

This proves the message onHide executed never appears. To get hands on the event fired before the widget is getting hidden i added the corresponding listener onHideMe to the configuration array. With this listener in place the message onHideMe executed is shown and the corresponding event is handled by the plugin.

avatar itbra itbra - open - 10 Oct 2014
avatar jissues-bot jissues-bot - change - 10 Oct 2014
Labels Added: ?
avatar phproberto
phproberto - comment - 11 Oct 2014

There was a conflict between bootstrap hide event and mootools hide even. To keep backward compatibility with Mootools we were forced to rename the event.

I think we could just replace the existing hide to map it to the hideme bootstrap event?

So I'd say that it's not possible

avatar itbra
itbra - comment - 11 Oct 2014

Huh? Why does the build appear to failed when is was successful yesterday?

So I'd say that it's not possible

I'm afraid, i don't get what you mean.

avatar phproberto
phproberto - comment - 12 Oct 2014

Sorry @itbra forget it. I sent that message from my mobile phone and forgot to remove that line.

I will add inline comments now.

avatar phproberto
phproberto - comment - 12 Oct 2014

Don't worry about Travis. It seems to be ok.

avatar brianteeman brianteeman - change - 17 Oct 2014
Category Libraries
avatar tflm84 tflm84 - test_item - 21 Aug 2015 - Tested successfully
avatar matrikular matrikular - test_item - 24 Oct 2015 - Tested successfully
avatar matrikular
matrikular - comment - 24 Oct 2015

I have tested this item :white_check_mark: successfully on a31c5b9

Before Patch:
onHidden executed

After Patch:
onHide executed
onHidden executed


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4507.

avatar yvesh yvesh - test_item - 24 Oct 2015 - Tested successfully
avatar yvesh
yvesh - comment - 24 Oct 2015

I have tested this item :white_check_mark: successfully on a31c5b9

Works as expected!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4507.

avatar degobbis degobbis - test_item - 24 Oct 2015 - Tested successfully
avatar degobbis
degobbis - comment - 24 Oct 2015

I have tested this item :white_check_mark: successfully on a31c5b9


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4507.

avatar yvesh
yvesh - comment - 24 Oct 2015

Yep works as @matrikular describes it.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4507.

avatar zero-24 zero-24 - change - 24 Oct 2015
Milestone
avatar zero-24 zero-24 - change - 24 Oct 2015
Milestone Added:
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 24 Oct 2015

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4507.

avatar joomla-cms-bot joomla-cms-bot - change - 24 Oct 2015
Labels Added: ?
avatar rdeutz rdeutz - reference | 5057895 - 25 Oct 15
avatar rdeutz rdeutz - merge - 25 Oct 2015
avatar rdeutz rdeutz - close - 25 Oct 2015
avatar rdeutz rdeutz - change - 25 Oct 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-10-25 09:59:53
Closed_By rdeutz
avatar rdeutz rdeutz - close - 25 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - close - 25 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - change - 25 Oct 2015
Labels Removed: ?
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone

Add a Comment

Login with GitHub to post a comment