fixed a bug when changing images, not retuning to the same order and "details page"
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
function thumbnailupdateurl(gameid, gamename) {
|
||||
|
||||
var sql;
|
||||
function thumbnailupdateurl(gameid, gamename, rootpage, orderby, details) {
|
||||
|
||||
var url = prompt("Enter Image URL for " + gamename + " (" + gameid + ")", "");
|
||||
|
||||
if (url == "") {
|
||||
if (url === "") {
|
||||
|
||||
alert ("Enter something !");
|
||||
|
||||
@@ -18,6 +16,7 @@ function thumbnailupdateurl(gameid, gamename) {
|
||||
};
|
||||
|
||||
|
||||
|
||||
$.ajax(
|
||||
{
|
||||
type: "POST",
|
||||
@@ -25,12 +24,13 @@ function thumbnailupdateurl(gameid, gamename) {
|
||||
data: data,
|
||||
success: function(data, textStatus, jqXHR)
|
||||
{
|
||||
|
||||
$( document ).ready(function(){
|
||||
$('#message').html(data);
|
||||
$('#message').fadeIn('slow', function(){
|
||||
$('#message').delay(3000).fadeOut();
|
||||
});
|
||||
$("#page").load('page.php');
|
||||
$("#page").load('page.php?rootpage=' + rootpage + '&orderby=' + orderby + '&details=' + details);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user