mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-28 13:03:10 +02:00
Manual search URL fix - hash will reset now
This commit is contained in:
@@ -35,7 +35,6 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
bindUIButtons();
|
bindUIButtons();
|
||||||
loadJackettSettings();
|
loadJackettSettings();
|
||||||
openSearchIfNecessary();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function openSearchIfNecessary() {
|
function openSearchIfNecessary() {
|
||||||
@@ -135,6 +134,7 @@ function reloadIndexers() {
|
|||||||
}
|
}
|
||||||
displayConfiguredIndexersList(configuredIndexers);
|
displayConfiguredIndexersList(configuredIndexers);
|
||||||
$('#indexers div.dataTables_filter input').focusWithoutScrolling();
|
$('#indexers div.dataTables_filter input').focusWithoutScrolling();
|
||||||
|
openSearchIfNecessary();
|
||||||
}).fail(function () {
|
}).fail(function () {
|
||||||
doNotify("Error loading indexers, request to Jackett server failed", "danger", "glyphicon glyphicon-alert");
|
doNotify("Error loading indexers, request to Jackett server failed", "danger", "glyphicon glyphicon-alert");
|
||||||
});
|
});
|
||||||
@@ -720,6 +720,7 @@ function showSearch(selectedIndexer, query) {
|
|||||||
|
|
||||||
releaseDialog.on('hidden.bs.modal', function (e) {
|
releaseDialog.on('hidden.bs.modal', function (e) {
|
||||||
$('#indexers div.dataTables_filter input').focusWithoutScrolling();
|
$('#indexers div.dataTables_filter input').focusWithoutScrolling();
|
||||||
|
window.location.hash = '';
|
||||||
}) ;
|
}) ;
|
||||||
|
|
||||||
var setCategories = function (tracker, items) {
|
var setCategories = function (tracker, items) {
|
||||||
|
Reference in New Issue
Block a user