Fix issue in drag drop feature. It's regression of RM #4552

This commit is contained in:
Aditya Toshniwal
2019-08-12 13:11:56 +05:30
committed by Akshay Joshi
parent a850e7bd5a
commit a51de78292

View File

@@ -369,7 +369,7 @@ define('tools.querytool', [
self.query_tool_obj.on('drop', (editor, e) => {
var dropDetails = null;
try {
JSON.parse(e.dataTransfer.getData('text'));
dropDetails = JSON.parse(e.dataTransfer.getData('text'));
/* Stop firefox from redirecting */