Bug #7772
data-ajax-url could be called multiple times
Description
the data-ajax-url provides an easy way to load additional ajax requests, it will fire multiple times if the onContentLoad event is triggered.
Associated revisions
History
#1
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Target version set to 1.7.2
- Pull request https://github.com/theforeman/foreman/pull/1817 added
- Pull request deleted (
)
#2
Updated by Ohad Levy over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 5e007c622ab65e87ed42d60f8b8cae7cc2bd50b9.
#3
Updated by Daniel Lobato Garcia over 7 years ago
- Legacy Backlogs Release (now unused) set to 21
fixes #7772 - avoids multiple ajax requests
the two-pane (and others) triggers the onContentLoad event, removing the
data attribute from the DOM will ensure its not loaded more than once.