Class pour les boutons de browser forcé dans jquery
This commit is contained in:
parent
4ca64f6b23
commit
e54bec91d4
|
@ -635,6 +635,7 @@ function display_browser($dir="", $caller="main.dir", $width=350, $height=450) {
|
||||||
|
|
||||||
$( \"#bt".$bid."\" )
|
$( \"#bt".$bid."\" )
|
||||||
.button()
|
.button()
|
||||||
|
.attr(\"class\", \"ina\")
|
||||||
.click(function() {
|
.click(function() {
|
||||||
$( \"#".$bid."\" ).dialog( \"open\" );
|
$( \"#".$bid."\" ).dialog( \"open\" );
|
||||||
return false;
|
return false;
|
||||||
|
@ -642,7 +643,7 @@ function display_browser($dir="", $caller="main.dir", $width=350, $height=450) {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
document.write(' <input type=\"button\" id=\"bt".$bid."\" value=\""._("Choose a folder...")."\" class=\"bff\">');
|
document.write(' <input type=\"button\" id=\"bt".$bid."\" value=\""._("Choose a folder...")."\" class=\"ina\">');
|
||||||
document.write('<div id=\"".$bid."\" title=\""._("Choose a folder...")."\" style=\"display: none; bgcolor:red;\">');
|
document.write('<div id=\"".$bid."\" title=\""._("Choose a folder...")."\" style=\"display: none; bgcolor:red;\">');
|
||||||
document.write(' <iframe src=\"/browseforfolder2.php?caller=".$caller."&file=".ehe($dir, 0)."&bid=".$bid."\" width=\"".($width-25)."\" height=\"".($height-50)."\" frameborder=\"no\" id=\"browseiframe\"></iframe>');
|
document.write(' <iframe src=\"/browseforfolder2.php?caller=".$caller."&file=".ehe($dir, 0)."&bid=".$bid."\" width=\"".($width-25)."\" height=\"".($height-50)."\" frameborder=\"no\" id=\"browseiframe\"></iframe>');
|
||||||
document.write('</div>');
|
document.write('</div>');
|
||||||
|
|
Loading…
Reference in New Issue