Class pour les boutons de browser forcé dans jquery

This commit is contained in:
Alan Garcia 2013-01-25 15:58:21 +00:00
parent 4ca64f6b23
commit e54bec91d4
1 changed files with 2 additions and 1 deletions

View File

@ -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('&nbsp;<input type=\"button\" id=\"bt".$bid."\" value=\""._("Choose a folder...")."\" class=\"bff\">'); document.write('&nbsp;<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>');