diff --git a/ChangeLog b/ChangeLog index b1aabb996..e6d684372 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,7 @@ $HeadURL$ thanks to Gordon McNaughton - bug #1715709 export in SQL format always includes procedures and functions - bug #1722502 DROP TABLE in export view structure +- bug #1718787 Multi-server setup breaks Designer 2.10.1.0 (2007-04-23) ===================== diff --git a/pmd/scripts/move.js b/pmd/scripts/move.js index ee5ff980d..0b482b3a3 100644 --- a/pmd/scripts/move.js +++ b/pmd/scripts/move.js @@ -373,7 +373,7 @@ function Get_url_pos() function Save2() { - var poststr = 'IS_AJAX=1&db='+db+'&token='+token+'&die_save_pos=1'; + var poststr = 'IS_AJAX=1&server='+server+'&db='+db+'&token='+token+'&die_save_pos=1'; poststr += Get_url_pos(); makeRequest('pmd_save_pos.php', poststr); } @@ -486,14 +486,14 @@ function Click_field(T,f,PK) // table field document.getElementById('hint').innerHTML = ""; document.getElementById('hint').style.visibility = "hidden"; document.getElementById('display_field_button').className = 'M_butt'; - makeRequest('pmd_display_field.php', 'T=' + T + '&F=' + f + '&db=' + db + '&token=' + token ); + makeRequest('pmd_display_field.php', 'T=' + T + '&F=' + f + '&server=' + server + '&db=' + db + '&token=' + token ); } } function New_relation() { document.getElementById('layer_new_relation').style.visibility = 'hidden'; - link_relation += '&db=' + db + '&token=' + token + '&die_save_pos=0'; + link_relation += '&server=' + server + '&db=' + db + '&token=' + token + '&die_save_pos=0'; link_relation += '&on_delete=' + document.getElementById('on_delete').value + '&on_update=' + document.getElementById('on_update').value; link_relation += Get_url_pos(); @@ -651,7 +651,7 @@ function Canvas_click(id) function Upd_relation() { document.getElementById('layer_upd_relation').style.visibility = 'hidden'; - link_relation += '&db=' + db + '&token=' + token + '&die_save_pos=0'; + link_relation += '&server=' + server + '&db=' + db + '&token=' + token + '&die_save_pos=0'; link_relation += Get_url_pos(); makeRequest('pmd_relation_upd.php', link_relation); } diff --git a/pmd_general.php b/pmd_general.php index 702b32a62..800d1fdcc 100644 --- a/pmd_general.php +++ b/pmd_general.php @@ -32,6 +32,7 @@ $hidden = "hidden"; +var server = "' . $server . '"; var db = "' . $db . '"; var token = "' . $token . '"; var LangSelectReferencedKey = "' . $strSelectReferencedKey . '";