[BACK]Return to todo.js CVS log [TXT][DIR] Up to [local] / todotxt / Text-Todo-REST-API / example / htdocs / lib

Diff for /todotxt/Text-Todo-REST-API/example/htdocs/lib/todo.js between version 1.1 and 1.2

version 1.1, 2010/02/23 03:01:04 version 1.2, 2010/02/23 03:55:22
Line 1 
Line 1 
 var TODO = function () {  var TODO = function () {
     var base_url = '/~andrew/user-bin/todo.cgi',      var base_url = '/~andrew/user-bin/todo-rest.cgi',
         editors  = {},          editors  = {},
   
     makeEntryEditor  = function(list, entry) {      makeEntryEditor  = function(list, entry) {
Line 16 
Line 16 
         }          }
   
         editors[id] = new Ajax.InPlaceEditor( id, url + '.json', {          editors[id] = new Ajax.InPlaceEditor( id, url + '.json', {
                   ajaxOptions: {
                           method: 'put',
                   },
                 cols: 80,                  cols: 80,
                 rows: 1,                  rows: 1,
                 callback: function(form, value) {                  callback: function(form, value) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>