Commit 71de0efb authored by Jacob Schatz's avatar Jacob Schatz

Merge branch...

Merge branch '26623-search-bar-dropdown-doesn-t-load-when-you-go-back-in-browser-history' into 'master'

Fixed search component not instantiating back when pressing the back button on the issue page

Closes #26623

See merge request !8676
parents e0d248f9 a20fbcaa
......@@ -129,3 +129,13 @@
event.preventDefault();
Turbolinks.visit(this.action + '&' + $(this).serialize());
});
$(document).off('page:restore').on('page:restore', function (event) {
if (gl.FilteredSearchManager) {
new gl.FilteredSearchManager();
}
Issuable.init();
new gl.IssuableBulkActions({
prefixId: 'issue_',
});
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment