Commit 12b06273 authored by Charlie Root's avatar Charlie Root

Fix combo bug, combo controls become selects

parent 7d7d4f07
......@@ -73,6 +73,8 @@ var node_logic = {
on_edit: function () {
var data = $$("node_list").getSelectedItem();
data.datacenter = data.datacenter.id;
data.node_type = data.node_type.id;
$$("node_form").setValues(data);
node_logic.show_form();
},
......
......@@ -127,7 +127,7 @@ var node_form = {
required: true,
},
{
view: "combo",
view: "select",
name: "datacenter",
label: "Datacenter",
options: "rpc->datacenter:lookup",
......@@ -145,7 +145,7 @@ var node_form = {
body: {
cols: [
{
view: "combo",
view: "select",
name: "node_type",
label: "Node Type",
options: "rpc->nodetype:lookup",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment