Fixed bug #3363221 - Missing Server Parameter on inline sql query
This commit is contained in:
@@ -12,6 +12,7 @@ phpMyAdmin - ChangeLog
|
|||||||
- bug #3357837 [interface] TABbing through a NULL field in the inline mode resets NULL
|
- bug #3357837 [interface] TABbing through a NULL field in the inline mode resets NULL
|
||||||
- remove version number in /setup
|
- remove version number in /setup
|
||||||
- bug #3367993 [usability] Missing "Generate Password" button
|
- bug #3367993 [usability] Missing "Generate Password" button
|
||||||
|
- bug #3363221 [display] Missing Server Parameter on inline sql query
|
||||||
|
|
||||||
3.4.3.1 (2011-07-02)
|
3.4.3.1 (2011-07-02)
|
||||||
- [security] Fixed possible session manipulation in swekey authentication, see PMASA-2011-5
|
- [security] Fixed possible session manipulation in swekey authentication, see PMASA-2011-5
|
||||||
|
@@ -1117,6 +1117,7 @@ function changeMIMEType(db, table, reference, mime_type)
|
|||||||
*/
|
*/
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$(".inline_edit_sql").live('click', function(){
|
$(".inline_edit_sql").live('click', function(){
|
||||||
|
var server = $(this).prev().find("input[name='server']").val();
|
||||||
var db = $(this).prev().find("input[name='db']").val();
|
var db = $(this).prev().find("input[name='db']").val();
|
||||||
var table = $(this).prev().find("input[name='table']").val();
|
var table = $(this).prev().find("input[name='table']").val();
|
||||||
var token = $(this).prev().find("input[name='token']").val();
|
var token = $(this).prev().find("input[name='token']").val();
|
||||||
@@ -1132,7 +1133,8 @@ $(document).ready(function(){
|
|||||||
$(this).click(function(){
|
$(this).click(function(){
|
||||||
sql_query = $(this).prev().val();
|
sql_query = $(this).prev().val();
|
||||||
window.location.replace("import.php"
|
window.location.replace("import.php"
|
||||||
+ "?db=" + encodeURIComponent(db)
|
+ "?server=" + encodeURIComponent(server)
|
||||||
|
+ "&db=" + encodeURIComponent(db)
|
||||||
+ "&table=" + encodeURIComponent(table)
|
+ "&table=" + encodeURIComponent(table)
|
||||||
+ "&sql_query=" + encodeURIComponent(sql_query)
|
+ "&sql_query=" + encodeURIComponent(sql_query)
|
||||||
+ "&show_query=1"
|
+ "&show_query=1"
|
||||||
|
Reference in New Issue
Block a user