aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
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();