Fix saving positions of text and code

This commit is contained in:
Paul van Tilburg 2012-01-13 10:43:47 +01:00
parent f938e66614
commit 86f518d0c7

View file

@ -39,7 +39,7 @@ function hide_add_dialog() {
};
function update_drag_info(event, ui) {
$.post("draggables/" + event.srcElement.id, ui.position, "json");
$.post("draggables/" + ui.helper.context.id, ui.position, "json");
}
function key_handler(event) {