1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-29 11:21:30 +03:00

bug #3945: Fix abide event for update ar form

This commit is contained in:
Daniel Molina 2015-08-25 17:34:01 +02:00
parent 7406010295
commit 4aec408535

View File

@ -50,12 +50,13 @@ define(function(require) {
function _setup(context) {
var that = this;
context.foundation('abide', 'reflow');
that.arTab.setup(context, "update_ar");
$('#update_ar_form',context).on('invalid', function () {
$('#update_ar_form',context).on('invalid.fndtn.abide', function () {
Notifier.notifyError(tr("One or more required fields are missing."));
}).on('valid', function () {
}).on('valid.fndtn.abide', function () {
var data = that.arTab.retrieve();
data['AR_ID'] = that.arId;