• we have a problem when updating from 2.6.0 to 2.7.1 today. we have menu where we directly link external with a target _blank. The handling is done in main.js, this changed in 2.7.1. and was not working anymore.

    I patched the main.js in line 388, to

    var isNewTab = function (self, event) {
    ? if (event.target.target) {
    ? ? if (event.target.target.trim() === "_blank") {
    ? ? ? ? ? return true;
    ? ? ? ? }
    ? ? }
        
        var target = $(self).attr("target")
    ? ? ...

    But later where the function is called to I added the event parameter

    var openInNewTab = isNewTab(self, event);

    The main problem is that now (in 2.7.1) the marker class is to be expected on the anchor tag, but the marker in the menu is set on the surrounding LI.

    No idea if the change above might have side effects, for us it seems to be ok. Please tick me if you decide to deploy this in a new version, so we can maybe remove the patch from the deployment.

    best

    Carsten

  • The topic ‘target=”_blank” menue link are not working anyway in 2.7.1’ is closed to new replies.