triggers panel: catch drop error

This commit is contained in:
Alexander Zobnin
2017-12-11 12:56:50 +03:00
parent 1abe858c61
commit 5717deeb91
3 changed files with 11 additions and 3 deletions

View File

@@ -121,7 +121,11 @@ System.register(['angular', 'jquery'], function (_export, _context) {
function closeDrop() { function closeDrop() {
setTimeout(function () { setTimeout(function () {
drop.destroy(); try {
drop.destroy();
} catch (err) {
console.log('drop.destroy() error: ', err.message);
}
}); });
} }
}); });

File diff suppressed because one or more lines are too long

View File

@@ -111,7 +111,11 @@ angular
function closeDrop() { function closeDrop() {
setTimeout(function() { setTimeout(function() {
drop.destroy(); try {
drop.destroy();
} catch (err) {
console.log('drop.destroy() error: ', err.message);
}
}); });
} }