Skip to content

Attempts to close a tooltip when no tooltip has been set may cause errors #2743

@yingbaiibm

Description

@yingbaiibm

Env:
Cacti 1.2.4
FF
rhel7 x64

JS error:
Screen Shot 2019-06-17 at 3 56 48 PM

diff for layout.js
@@ -684,7 +684,9 @@
$(this).tooltip('close');
})
.on('click', function() {

  • $(this).tooltip('close');
  • if($(this).tooltip > -1) {
  • $(this).tooltip('close');
  • }
    });
    $(document).tooltip({
    @@ -4014,5 +4016,3 @@
    }
    }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions