Permalink
Browse files

debug auth sequence

  • Loading branch information...
1 parent 9b9002c commit d9ce3c60e4894a943337593b6489536e4c406034 @robrighter committed Apr 24, 2010
Showing with 4 additions and 4 deletions.
  1. +2 −2 prod-buildout/js/site.js
  2. +2 −2 static/js/site.js
View
@@ -24,7 +24,7 @@ var setProfile = function(user){
};
var unfollow = function(screenname,callback){
-
+ window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
$.getJSON('/__unfollow?screen_name='+screenname, function(data){
console.log(data);
if(data.error){
@@ -39,7 +39,7 @@ var unfollow = function(screenname,callback){
}
var authenticate = function(){
- win = window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
+ window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
}
var clearList = function() {
View
@@ -24,7 +24,7 @@ var setProfile = function(user){
};
var unfollow = function(screenname,callback){
-
+ window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
$.getJSON('/__unfollow?screen_name='+screenname, function(data){
console.log(data);
if(data.error){
@@ -39,7 +39,7 @@ var unfollow = function(screenname,callback){
}
var authenticate = function(){
- win = window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
+ window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
}
var clearList = function() {

0 comments on commit d9ce3c6

Please sign in to comment.