From 63691ed61b2c62aff40b89b45b52299a06667d39 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Wed, 13 Aug 2014 06:38:33 +0300 Subject: [PATCH] HTML: arrow navigation is based on full dive list. The navigation arrows from the detailed dive view is based on the full dive list, regardless of 'items_to_show' list. This can introduce unexpected behaviour if some search results or explicitly sorted list are shown in the list view. Restoring this list view from the detailed dive view after some arrow navigation. Arrow navigation must be separte and don't change the 'start_id' variable. Signed-off-by: Gehad elrobey Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- theme/list_lib.js | 1 - 1 file changed, 1 deletion(-) diff --git a/theme/list_lib.js b/theme/list_lib.js index ed9bc2c16..ecdf5df6c 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -1182,7 +1182,6 @@ function setDiveTitle(dive) */ function unshowDiveDetails(dive) { - start = dive_id; viewInPage(); plot1 = null; document.getElementById("diveListPanel").style.display = 'block';