Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16928 Rev 16929
Línea 31... Línea 31...
31
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/js/locales/es.js'));
31
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/js/locales/es.js'));
32
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/themes/fas/theme.js'));
32
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/themes/fas/theme.js'));
33
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/themes/explorer-fas/theme.js'));
33
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/themes/explorer-fas/theme.js'));
Línea 34... Línea -...
34
 
-
 
35
 
-
 
36
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/jquery.validate.js'));
-
 
-
 
34
 
-
 
35
 
-
 
36
 
Línea 37... Línea 37...
37
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/additional-methods.js'));
37
 
38
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/localization/messages_es.js'));
38
 
Línea 39... Línea 39...
39
 
39
 
Línea 119... Línea 119...
119
                }
119
                }
120
            }
120
            }
121
        });
121
        });
Línea 122... Línea -...
122
    
-
 
123
    
-
 
124
        $.fn.showFormErrorValidator = function(fieldname, errors) {
-
 
125
            var field = $(fieldname);
-
 
126
            if(field) {
-
 
127
                $(field).addClass('is-invalid');
-
 
128
    
-
 
129
 
-
 
130
                var error = $('<span id="' + fieldname +'-error" class="error invalid-feedback">' + errors + '</div>');
-
 
131
                if(element.parent('.btn-file').length) {
-
 
132
                    error.insertAfter(element.parent().parent());
-
 
133
                } else if(element.parent('.toggle').length) {
-
 
134
                    error.insertAfter(element.parent().parent());
-
 
135
                } else {
-
 
136
                    error.insertAfter(element.parent());
-
 
137
                }
-
 
138
            }
-
 
Línea 139... Línea 122...
139
        };
122
    
140
 
123
    
141
 
124