Commit a20fbcaa authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

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

parent 948c3e4e
......@@ -125,3 +125,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