Skip to content
Snippets Groups Projects
Commit 244eebc4 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Add Set max value function

parent febcde7d
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,11 @@ const table = {
"amperenodes-medium": { "max_cpu": 128, "max_hour": 48, "max_gpu": 2 },
}
function set_max_value(form_id, value) {
const form_element = $(form_id);
form_element.attr({'max': value});
}
function set_partition_change_handler() {
let partition_select = $("#batch_connect_session_context_bc_partition");
partition_select.change( function(e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment