Compare commits
No commits in common. "ecad8d90d695dff07c708952f58d7a7f316f1e6f" and "4e582d96e1183949aadc1264c3a20733c699136a" have entirely different histories.
ecad8d90d6
...
4e582d96e1
|
|
@ -51,4 +51,4 @@ if ( php_sapi_name() != "cli" ) {
|
|||
// Make our PDO database connection which will be used in all scripts
|
||||
$globaldbh = new PDO("mysql:host=" . DBHOST . ";dbname=" . DBNAME, DBUSER, DBPASS);
|
||||
|
||||
// vim: sw=4 ts=4 et ai mouse-=a:
|
||||
?>
|
||||
|
|
|
|||
24
js/comics.js
24
js/comics.js
|
|
@ -38,10 +38,6 @@ function getSortOrder(refresh = true) {
|
|||
$("#sortorder").html(data.order);
|
||||
if ( refresh ) getFolderContents();
|
||||
}
|
||||
},
|
||||
error : function(xhr, stat, err) {
|
||||
console.log(xhr.status);
|
||||
console.log(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -63,10 +59,6 @@ function cycleSortOrder() {
|
|||
$("#sortorder").html(data.order);
|
||||
getFolderContents();
|
||||
}
|
||||
},
|
||||
error : function(xhr, stat, err) {
|
||||
console.log(xhr.status);
|
||||
console.log(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -105,10 +97,6 @@ function getFolderContents() {
|
|||
$(".folder").click(function() { changeFolder($(this).data("name"), $(this).data("path")); });
|
||||
$(".issue").click(function() { $(this).parent().addClass("readborder"); showComic($(this).data("relcomic"), $(this).data("comname")); });
|
||||
toastr.remove();
|
||||
},
|
||||
error : function(xhr, stat, err) {
|
||||
console.log(xhr.status);
|
||||
console.log(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -153,10 +141,6 @@ function changeFolder(name, path) {
|
|||
foldername = data.foldername;
|
||||
toastr.remove();
|
||||
getFolderContents();
|
||||
},
|
||||
error : function(xhr, stat, err) {
|
||||
console.log(xhr.status);
|
||||
console.log(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -182,10 +166,6 @@ function updateCurrentPage() {
|
|||
return;
|
||||
}
|
||||
console.log(data.message);
|
||||
},
|
||||
error : function(xhr, stat, err) {
|
||||
console.log(xhr.status);
|
||||
console.log(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -216,10 +196,6 @@ function showComic(comic, name) {
|
|||
startAt: data.startindex,
|
||||
beforeSetContent: updateCurrentPage
|
||||
});
|
||||
},
|
||||
error : function(xhr, stat, err) {
|
||||
console.log(xhr.status);
|
||||
console.log(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user