BigW Consortium Gitlab

Commit 28353e6f by Jacob Schatz Committed by Stan Hu

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
parent f8747323
...@@ -125,3 +125,13 @@ ...@@ -125,3 +125,13 @@
event.preventDefault(); event.preventDefault();
Turbolinks.visit(this.action + '&' + $(this).serialize()); 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