Commit 04680880 authored by bbaer's avatar bbaer
Browse files

used elementupdate in response if data is available

parent d2ef62e5
......@@ -151,7 +151,6 @@ var QfqNS = QfqNS || {};
if (dzSelector) {
this.setDropZones($("." + dzSelector));
}
};
n.DragAndDrop.prototype._dropHandler = function(event) {
......@@ -256,7 +255,14 @@ var QfqNS = QfqNS || {};
console.error(data.message);
} else {
console.log("status:" + data.status + " message: " + data.message);
if (data.elementUpdate) {
if (!this.elementUpdate) {
this.elementUpdate = new n.ElementUpdate();
}
this.elementUpdate.updateAll(data.elementUpdate);
}
}
};
})(QfqNS);
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment