diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-12-18 12:14:15 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-12-18 12:51:04 -0500 |
commit | 46a59252b655a9c2e05febd6b5e948bb5dbf81fb (patch) | |
tree | 2a41b4ed0f459f9c8890030ccb3b2c3fee54e1c8 /web/react/utils/client.jsx | |
parent | d4a139c09afa5fc0bcdcd1276cf0d2121dbdd226 (diff) | |
download | chat-46a59252b655a9c2e05febd6b5e948bb5dbf81fb.tar.gz chat-46a59252b655a9c2e05febd6b5e948bb5dbf81fb.tar.bz2 chat-46a59252b655a9c2e05febd6b5e948bb5dbf81fb.zip |
Refactored ViewImage modal and made it automatically play animated gifs
Diffstat (limited to 'web/react/utils/client.jsx')
-rw-r--r-- | web/react/utils/client.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx index a12e85f67..1c417153b 100644 --- a/web/react/utils/client.jsx +++ b/web/react/utils/client.jsx @@ -1076,7 +1076,9 @@ export function getFileInfo(filename, success, error) { dataType: 'json', contentType: 'application/json', type: 'GET', - success, + success: (data) => { + success(data); + }, error: function onError(xhr, status, err) { var e = handleError('getFileInfo', xhr, status, err); error(e); |