You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in createMenu() the click on menu items is listened to this way:
if (item.action) {
row.find('a').click(function(){ item.action(e); });
}
This doesn't stop the tag to follow its href: it's (almost) harmless most of the time, but with complex URLs (i.e. with path parameters) this causes another page to load instead of the current one.
The code should me changed to:
if (item.action) {
row.find('a').click(function(){ item.action(e); return false; });
}
Returning false ensures the href is not followed.
The text was updated successfully, but these errors were encountered:
in createMenu() the click on menu items is listened to this way:
This doesn't stop the tag to follow its href: it's (almost) harmless most of the time, but with complex URLs (i.e. with path parameters) this causes another page to load instead of the current one.
The code should me changed to:
Returning false ensures the href is not followed.
The text was updated successfully, but these errors were encountered: