url has to changed whatever is the control that called the js "change" function
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-10-19 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
|
* libraries/user_details.JS, lines 126-130: url has to changed whatever is
|
||||||
|
the control that called the "change" function.
|
||||||
|
|
||||||
2001-10-18 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-10-18 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* Documentation.html; header.inc.php3; index.php3; left.php3;
|
* Documentation.html; header.inc.php3; index.php3; left.php3;
|
||||||
libraries/common.lib.php3: removed the xml declaration because even if
|
libraries/common.lib.php3: removed the xml declaration because even if
|
||||||
|
@@ -123,11 +123,9 @@ function change(the_field) {
|
|||||||
var l = location.href;
|
var l = location.href;
|
||||||
var box_name = the_field.name;
|
var box_name = the_field.name;
|
||||||
|
|
||||||
if (box_name == 'dbgrant') {
|
var lpos = l.indexOf('&' + box_name);
|
||||||
var lpos = l.indexOf('&' + box_name);
|
if (lpos > 0) {
|
||||||
if (lpos >= 0) {
|
l = l.substring(0, lpos);
|
||||||
l = l.substring(0, lpos);
|
|
||||||
}
|
|
||||||
} // end if
|
} // end if
|
||||||
|
|
||||||
location.href = l + '&' + box_name + '=' + getSelected(the_field);
|
location.href = l + '&' + box_name + '=' + getSelected(the_field);
|
||||||
|
Reference in New Issue
Block a user