diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2014-07-23 05:12:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-25 07:14:49 -0700 |
commit | c27ee46281009309ede84e70d15b644c33b83e58 (patch) | |
tree | 62163a2540ec8edb87d474d0d8e9604b85d88c30 /theme/dive_export.html | |
parent | 47bdcbe26172f52442e3a66242f621529a1e8fb5 (diff) | |
download | subsurface-c27ee46281009309ede84e70d15b644c33b83e58.tar.gz |
HTML: Save last ordering state of sorting
Saving sorting state and apply the last sorting to new search results.
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/dive_export.html')
-rw-r--r-- | theme/dive_export.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/theme/dive_export.html b/theme/dive_export.html index ebddf4040..a326e3bf6 100644 --- a/theme/dive_export.html +++ b/theme/dive_export.html @@ -158,12 +158,12 @@ function changeAdvSearch(e){ </div> </div> <div id="header"> - <div onClick="list_sort('1')" class="item">Number</div> - <div onClick="list_sort('2')" class="item">Date</div> - <div onClick="list_sort('3')" class="item">Time</div> - <div onClick="list_sort('6')" class="item_large">Location</div> - <div onClick="list_sort('4')" class="item">Air Temp</div> - <div onClick="list_sort('5')" class="item">Water Temp</div> + <div onClick="change_sort_col('1')" class="item">Number</div> + <div onClick="change_sort_col('2')" class="item">Date</div> + <div onClick="change_sort_col('3')" class="item">Time</div> + <div onClick="change_sort_col('6')" class="item_large">Location</div> + <div onClick="change_sort_col('4')" class="item">Air Temp</div> + <div onClick="change_sort_col('5')" class="item">Water Temp</div> </div> <div id="diveslist"> </div> |