HTML: dive list must remember the last dive in display

When switching between dives in detailed view, The dive list must be
switched too.

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>
This commit is contained in:
Gehad elrobey 2014-06-25 01:41:23 +03:00 committed by Dirk Hohndel
parent 10345d62fc
commit 60049941ba

View file

@ -922,6 +922,8 @@ function showDiveDetails(dive)
*/
function unshowDiveDetails(dive)
{
start = dive_id;
viewInPage();
document.getElementById("diveListPanel").style.display = 'block';
document.getElementById("divePanel").style.display = 'none';
}