Add Todoist installation script (need to be styled)
This commit is contained in:
@@ -1,23 +1,6 @@
|
||||
<?header('Content-type: application/javascript');
|
||||
|
||||
$token = $_GET['token'];
|
||||
|
||||
?>
|
||||
|
||||
function cbfunc(o){
|
||||
|
||||
var name = o[0].name;
|
||||
|
||||
var id = o[0].id;
|
||||
|
||||
|
||||
|
||||
if(id == undefined){
|
||||
|
||||
$('body').append('<span>ERROR</span>');
|
||||
|
||||
}else{
|
||||
|
||||
$.get('saveTodoist.php', {name: name, id: id}, function(){
|
||||
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user