summary refs log tree commit diff
path: root/webclient/components/utilities
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-21 14:30:41 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-21 15:00:20 +0200
commitaac52fce15a592ac0715f72864f144600e4c15a1 (patch)
tree5a8de90ce005b4bb827cb8ed2c80e267b784b9cf /webclient/components/utilities
parentMade uploadContent compatible for sending Blob objects (diff)
downloadsynapse-aac52fce15a592ac0715f72864f144600e4c15a1.tar.xz
Generate thumbnail client side and send its URL and info with the image message body
Diffstat (limited to 'webclient/components/utilities')
-rw-r--r--webclient/components/utilities/utilities-service.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/utilities/utilities-service.js b/webclient/components/utilities/utilities-service.js
index f9e52eacf8..9cf858ef39 100644
--- a/webclient/components/utilities/utilities-service.js
+++ b/webclient/components/utilities/utilities-service.js
@@ -23,7 +23,7 @@ angular.module('mUtilities', [])
 .service('mUtilities', ['$q', function ($q) {
     /*
      * Get the size of an image
-     * @param {File} imageFile the file containing the image
+     * @param {File|Blob} imageFile the file containing the image
      * @returns {promise} A promise that will be resolved by an object with 2 members:
      *   width & height
      */