Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16912 Rev 16929
Línea 16... Línea 16...
16
 
16
 
17
 
17
 
Línea 18... Línea -...
18
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/nprogress/nprogress.css'));
-
 
19
$this->inlineScript()->appendFile($this->basePath('assets/vendors/nprogress/nprogress.js'));
-
 
20
 
-
 
-
 
18
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/nprogress/nprogress.css'));
-
 
19
$this->inlineScript()->appendFile($this->basePath('assets/vendors/nprogress/nprogress.js'));
-
 
20
 
Línea 21... Línea 21...
21
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/jquery.validate.js'));
21
 
Línea 22... Línea 22...
22
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/additional-methods.js'));
22
 
23
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/localization/messages_es.js'));
23
 
Línea 55... Línea 55...
55
                error.insertAfter(element.parent());
55
                error.insertAfter(element.parent());
56
            }
56
            }
57
        });
57
        });
Línea 58... Línea -...
58
    
-
 
59
    
-
 
60
        $.fn.showFormErrorValidator = function(fieldname, errors) {
-
 
61
            var field = $(fieldname);
-
 
62
            if(field) {
-
 
63
                $(field).addClass('is-invalid');
58
    
64
    
-
 
65
 
-
 
66
                var error = $('<span id="' + fieldname +'-error" class="error invalid-feedback">' + errors + '</div>');
-
 
67
                error.insertAfter(field.parent());
-
 
68
            }
-
 
Línea 69... Línea 59...
69
        };
59
    
70
 
60