diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-03-11 19:03:43 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-11 11:02:28 -0700 |
commit | e70dbb568d68f564c22b08a3ecaa5cbdb82c5dcb (patch) | |
tree | e58af71600502f3a942346bb785d7d93f9506f0e /divesitehelpers.cpp | |
parent | 9e09bc0f523df6d7fa30ad1a15e619e5622bffb1 (diff) | |
download | subsurface-e70dbb568d68f564c22b08a3ecaa5cbdb82c5dcb.tar.gz |
HTML: don't show dive photos if photos are missing
some photos can be missing due to permission issues during exporting.
There are 3 cases:
-All photos are missing, the photo view must disapear.
-Some photos are missing, these photos must not be shown.
-No missing photos, all the photos must be viewed.
at loading try to get all the existing photos by GET. missing photos
must be marked for later removal. After all asynchronous GET requests
are received, remove all missing photos then finally show them all.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divesitehelpers.cpp')
0 files changed, 0 insertions, 0 deletions