aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-04-09 14:51:26 +0100
committerStruan Donald <struan@exo.org.uk>2013-04-09 14:51:26 +0100
commit1afe428d0e3a4d221bb1e67b8de357753bf00571 (patch)
tree0540cbbc06c087dd7e2a02a5fd868d6d73fb2d5e /www/js
parent890cfcddffd1c70df10bf655d63e7b8fd162d853 (diff)
add TODO about file storage
Diffstat (limited to 'www/js')
-rw-r--r--www/js/views/photo.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/views/photo.js b/www/js/views/photo.js
index 24a5070..6ea7f40 100644
--- a/www/js/views/photo.js
+++ b/www/js/views/photo.js
@@ -27,6 +27,8 @@
},
addPhotoSuccess: function(imgURI) {
+ //TODO move this file somewhere permanent rather than temp
+ // storage so it doesn't get randomly cleaned up by the OS
$('#photo').attr('src', imgURI );
this.model.set('file', imgURI);
FMS.saveCurrentDraft();