Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 14990 | Rev 15256 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 14990 Rev 15255
Línea 239... Línea 239...
239
                    
239
                    
240
                },
240
                },
241
            },
241
            },
242
            submitHandler: function(form)
242
            submitHandler: function(form)
-
 
243
            {
243
            {
244
                $('#modal .btn-primary').attr("disabled", true);
244
                $.ajax({
245
                $.ajax({
245
                    'dataType'  : 'json',
246
                    'dataType'  : 'json',
246
                    'accept'    : 'application/json',
247
                    'accept'    : 'application/json',
247
                    'method'    : 'post',
248
                    'method'    : 'post',
Línea 269... Línea 270...
269
                }).fail(function( jqXHR, textStatus, errorThrown) {
270
                }).fail(function( jqXHR, textStatus, errorThrown) {
270
                   $.fn.showError(textStatus);
271
                   $.fn.showError(textStatus);
271
                }).always(function() {
272
                }).always(function() {
272
                    NProgress.done();
273
                    NProgress.done();
273
                });
274
                });
-
 
275
                $('#modal .btn-primary').removeAttr("disabled");
274
                return false;
276
                return false;
275
            },
277
            },
276
            invalidHandler: function(form, validator) {
278
            invalidHandler: function(form, validator) {
Línea 277... Línea 279...
277
            
279