Add region 'ID' field to add form

This commit is contained in:
Brian Federle 2013-02-26 13:37:03 -08:00
parent 8831b2920c
commit 5a08ef64b3
1 changed files with 2 additions and 3 deletions

View File

@ -34,6 +34,7 @@
title: 'label.add.region',
desc: 'message.add.region',
fields: {
id: { label: 'label.id', validation: { required: true } },
name: { label: 'label.name', validation: { required: true } },
endpoint: { label: 'label.endpoint', validation: { url: true, required: true } },
userapikey: { label: 'label.api.key' },
@ -50,9 +51,7 @@
args.response.success({ _custom: { jobId: jobID }});
}
});
args.response.success();
},
notification: { poll: pollAsyncJobResult }
}
}
},
dataProvider: function(args) {