Revision 74060102

View differences:

src/sunstone/public/app/tabs/vnets-tab/dialogs/add-ar.js
50 50

  
51 51
  function _setup(context) {
52 52
    var that = this;
53

  
53
    context.foundation('abide', 'reflow');
54
    
54 55
    that.arTab.setup(context, "add_ar");
55 56

  
56 57
    $('#submit_ar_reset_button', context).click(function(){
......
58 59
      Sunstone.getDialog(DIALOG_ID).show();
59 60
    });
60 61

  
61
    $('#add_ar_form',context).on('invalid', function () {
62
    $('#add_ar_form',context).on('invalid.fndtn.abide', function () {
62 63
        Notifier.notifyError(Locale.tr("One or more required fields are missing."));
63
    }).on('valid', function () {
64
    }).on('valid.fndtn.abide', function () {
64 65
        var data = that.arTab.retrieve();
65 66

  
66 67
        var obj = {AR: data};

Also available in: Unified diff