diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-19 09:47:51 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-19 09:47:51 +0200 |
commit | f7800cd63ef55b9fc0e8379291adeb9e45356fb1 (patch) | |
tree | e2ca2d501d48db4654a527a3f00bdae7b3feaa47 | |
parent | 72d53008cc848f7bdaf55183d6e4be75c8bfae53 (diff) | |
download | nextcloud-server-f7800cd63ef55b9fc0e8379291adeb9e45356fb1.tar.gz nextcloud-server-f7800cd63ef55b9fc0e8379291adeb9e45356fb1.zip |
fix 'event is not defined' error
-rw-r--r-- | core/js/oc-dialogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index ddd3cb4ac78..7ca94dcbaa4 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -238,7 +238,7 @@ var OCdialogs = { if (window.FileReader && type === 'image') { var reader = new FileReader(); reader.onload = function (e) { - var blob = new Blob([event.target.result]); + var blob = new Blob([e.target.result]); window.URL = window.URL || window.webkitURL; var originalUrl = window.URL.createObjectURL(blob); var image = new Image(); |