Skip to content
Permalink
Browse files

fix Delicious model

  • Loading branch information...
Constellation committed Dec 16, 2011
1 parent 52d17d1 commit d2e70b3425b43848e238c59318b05a101cb771e1
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/lib/models.js
@@ -1005,14 +1005,15 @@ Models.register({

post : function(ps){
return this.getCurrentUser().addCallback(function(user) {
return request('http://www.delicious.com/save/confirm', {
return request('http://www.delicious.com/save', {
queryString : {
title : ps.item,
url : ps.itemUrl,
isNew : true
}
}).addCallback(function(res){
var doc = createHTML(res.responseText);
console.log(formContents(doc, true));
return request('http://www.delicious.com/save', {
sendContent : update(formContents(doc, true), {
title : ps.item,

0 comments on commit d2e70b3

Please sign in to comment.
You can’t perform that action at this time.