+/*
+ * Background ajax call to receive updates from the browser when a note is moved, resized, or updated.
+ */
+void ajax_update_note(void) {
+
+ begin_ajax_response();
+ wprintf("Updating."); // Browser ignores the response, so nothing is necessary.
+ end_ajax_response();
+
+ if (!havebstr("note_uid")) {
+ lprintf(5, "Received ajax_update_note() request without a note UID.\n");
+ return;
+ }
+
+ lprintf(9, "Note UID = %s\n", bstr("note_uid"));
+ if (havebstr("top")) lprintf(9, "Top = %s\n", bstr("top"));
+ if (havebstr("left")) lprintf(9, "Left = %s\n", bstr("left"));
+ if (havebstr("height")) lprintf(9, "Height = %s\n", bstr("height"));
+ if (havebstr("width")) lprintf(9, "Width = %s\n", bstr("width"));
+
+ /* FIXME finish this */
+}
+
+
+
+