Whitespace cleanup.
This commit is contained in:
@@ -1663,12 +1663,11 @@ $(document).ready(function(){
|
||||
$table=$("input[name='table']").val();
|
||||
$token=$("input[name='token']").val();
|
||||
$sql_query=$("input[name='sql_query']").val();
|
||||
|
||||
$(".syntax").replaceWith("<textarea name=\"sql_query_edit\" id=\"sql_query_edit\">"+ $sql_query +"</textarea><input type=\"button\" id=\"btnSave\" value=\"Save\"><input type=\"button\" id=\"btnDiscard\" value=\"Discard\">");
|
||||
$(".syntax").replaceWith("<textarea name=\"sql_query_edit\" id=\"sql_query_edit\">"+ $sql_query +"</textarea><input type=\"button\" id=\"btnSave\" value=\"Save\"><input type=\"button\" id=\"btnDiscard\" value=\"Discard\">");
|
||||
return false;
|
||||
});
|
||||
|
||||
$("#btnSave").live("click",function(){
|
||||
$("#btnSave").live("click",function(){
|
||||
window.location.replace("import.php?db="+$db+"&table="+$table+"&sql_query="+$("#sql_query_edit").val()+"&show_query=1&token="+$token+"");
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user