Skip to content
Snippets Groups Projects

Add form.js

Merged Bo-Chun Chen requested to merge feat-form-js into main
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -31,6 +31,7 @@ function toggle_gpu_visibility(event) {
const gpu_selector = '#batch_connect_session_context_bc_num_gpus';
toggle_visibilty_of_form_group(gpu_selector, table[partition]["max_gpu"] != -1);
set_max_value(gpu_selector, table[partition]["max_gpu"]);
}
function toggle_visibilty_of_form_group(form_id, show) {
Loading