Always unbind internal listeners when closing a modal dialog

This commit is contained in:
Frederic Guillot
2017-01-26 22:21:07 -05:00
parent c3d42a21b2
commit a371d53e63
10 changed files with 38 additions and 6 deletions

View File

@@ -15,7 +15,6 @@ KB.component('screenshot', function (containerElement) {
for (var i = 0; i < items.length; i++) {
// Find an image in pasted elements
if (items[i].type.indexOf("image") !== -1) {
var blob = items[i].getAsFile();
// Get the image as base64 data