Fixing Browse For Folder not working on Domaines-type with - in their name
This commit is contained in:
parent
51684c2125
commit
667bc04316
|
@ -117,10 +117,11 @@ function addslashes(ch) {
|
||||||
|
|
||||||
/* Fontion de retour de la valeur selectionnee */
|
/* Fontion de retour de la valeur selectionnee */
|
||||||
function retour() {
|
function retour() {
|
||||||
window.parent.document.<?php echo $caller; ?>.value = addslashes( $("#file").val() );
|
window.parent.jQuery('#<?php echo $caller; ?>').val( $("#file").val() );
|
||||||
window.parent.jQuery('#<?php echo $bid; ?>').dialog('close');
|
window.parent.jQuery('#<?php echo $bid; ?>').dialog('close');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body class="light" onload="popupfile();">
|
<body class="light" onload="popupfile();">
|
||||||
|
|
|
@ -78,7 +78,7 @@ $dom->unlock();
|
||||||
switch ($dt['target']) {
|
switch ($dt['target']) {
|
||||||
case "DIRECTORY": ?>
|
case "DIRECTORY": ?>
|
||||||
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe($targval); ?>" size="28" onKeyPress="getElementById('r_<?php echo $dt['name']?>').checked=true;" />
|
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe($targval); ?>" size="28" onKeyPress="getElementById('r_<?php echo $dt['name']?>').checked=true;" />
|
||||||
<?php display_browser( $targval , "main.t_".$dt['name'] );
|
<?php display_browser( $targval , "t_".$dt['name'] );
|
||||||
break;
|
break;
|
||||||
case "URL": ?>
|
case "URL": ?>
|
||||||
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe( (empty($targval)?'http://':$targval) ); ?>" size="50" onKeyPress="getElementById('r_<?php echo $dt['name']?>').checked=true;" />
|
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe( (empty($targval)?'http://':$targval) ); ?>" size="50" onKeyPress="getElementById('r_<?php echo $dt['name']?>').checked=true;" />
|
||||||
|
|
Loading…
Reference in New Issue