summaryrefslogtreecommitdiffstats
path: root/theme/list_lib.js
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-08-13 06:38:33 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-14 09:52:57 -0600
commit63691ed61b2c62aff40b89b45b52299a06667d39 (patch)
tree3d3db4480157469d51660c9e082fa99efc626e64 /theme/list_lib.js
parent8bc232b0bd8ce328b91138e8ef2df6cf64dbf2d6 (diff)
downloadsubsurface-63691ed61b2c62aff40b89b45b52299a06667d39.tar.gz
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 <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/list_lib.js')
-rw-r--r--theme/list_lib.js1
1 files changed, 0 insertions, 1 deletions
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';