aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-04-23 16:00:02 +0100
committerStruan Donald <struan@exo.org.uk>2013-04-23 16:00:02 +0100
commitb10cab2696de5a852404547b7498f127f539a1f1 (patch)
tree4987bfee9c03259e3c71e0edd5c16e17687c5e85 /www/js
parentc49401eacee085bff6752ee80fefdc97b680b5b3 (diff)
removing some debug code
Diffstat (limited to 'www/js')
-rw-r--r--www/js/app.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/www/js/app.js b/www/js/app.js
index e9ef752..fa153ba 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -82,9 +82,7 @@ var tpl = {
},
removeDraft: function(draftID, removePhoto) {
- console.log( draftID );
var draft = FMS.allDrafts.get(draftID);
- console.log( draft );
var uri = draft.get('file');
FMS.allDrafts.remove(draft);
draft.destroy();
@@ -134,8 +132,8 @@ var tpl = {
document.addEventListener('offline', function() { FMS.offline(); }, true);
document.addEventListener('online', function() { FMS.online(); }, true);
- $(document).on('ajaxStart', function() { console.log('ajax on'); $.mobile.loading('show'); } );
- $(document).on('ajaxStop', function() { console.log('ajax off'); $.mobile.loading('hide'); } );
+ $(document).on('ajaxStart', function() { $.mobile.loading('show'); } );
+ $(document).on('ajaxStop', function() { $.mobile.loading('hide'); } );
FMS.allDrafts.comparator = function(a,b) { var a_date = a.get('created'), b_date = b.get('created'); return a_date === b_date ? 0 : a_date < b_date ? 1 : -1; };
FMS.allDrafts.fetch();