summary refs log tree commit diff
path: root/webclient/components/fileUpload
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-22 10:15:15 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-22 10:15:15 +0200
commitc8d0c4762da432aafa4372928aa70ef55646134b (patch)
treebf61f6e2881dd9085c114acdd4528ddf1f2eb2d3 /webclient/components/fileUpload
parenthomeserver runs webclient by default now (diff)
downloadsynapse-c8d0c4762da432aafa4372928aa70ef55646134b.tar.xz
Safari needs the img.onload event before actually working on the img
Diffstat (limited to 'webclient/components/fileUpload')
-rw-r--r--webclient/components/fileUpload/file-upload-service.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/webclient/components/fileUpload/file-upload-service.js b/webclient/components/fileUpload/file-upload-service.js
index 6606f31e22..398124fcc4 100644
--- a/webclient/components/fileUpload/file-upload-service.js
+++ b/webclient/components/fileUpload/file-upload-service.js
@@ -82,6 +82,7 @@ angular.module('mFileUpload', ['matrixService', 'mUtilities'])
         // First, get the image size
         mUtilities.getImageSize(imageFile).then(
             function(size) {
+                console.log("image size: " + JSON.stringify(size));
 
                 // The final operation: send imageFile
                 var uploadImage = function() {