===================================================================
RCS file: /cvs/todotxt/Text-Todo-REST-API/example/htdocs/index.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- todotxt/Text-Todo-REST-API/example/htdocs/index.html 2010/02/02 06:11:31 1.7
+++ todotxt/Text-Todo-REST-API/example/htdocs/index.html 2010/02/13 22:32:18 1.8
@@ -1,5 +1,5 @@
-
+
todo.txt - ajax client
@@ -23,10 +23,11 @@
$('list').insert({ bottom: new Element('div', { id: todo[i].md5 }) });
$(todo[i].md5).update(todo[i].text);
- var entry_url = base_url + '/' + list + '/' + todo[i].md5;
+ var entry_url = base_url + '/' + list + '/entry/' + todo[i].md5;
new Ajax.InPlaceEditor(todo[i].md5, entry_url + '.txt', {
- loadTextURL: entry_url + '.txt',
+ cols: 80,
+ //loadTextURL: entry_url + '.txt',
});
}
}