MDL-9931 adding go button to delete

This commit is contained in:
skodak
2008-02-19 13:12:55 +00:00
parent 281ec00e8f
commit 4a906d7333
+9
View File
@@ -864,7 +864,16 @@ function displaydir ($wdir) {
"zip" => "$strcreateziparchive"
);
if (!empty($count)) {
choose_from_menu ($options, "action", "", "$strwithchosenfiles...", "javascript:getElementById('dirform').submit()");
echo '<div id="noscriptgo" style="display: inline;">';
echo '<input type="submit" value="'.get_string('go').'" /></div>';
echo '<script type="text/javascript">'.
"\n//<![CDATA[\n".
'document.getElementById("noscriptgo").style.display = "none";'.
"\n//]]>\n".'</script>';
echo '</div>';
}
echo "</td></tr></table>";
echo "</div>";