1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2015-07-13 17:26:11 -04:00
parent 697257670c
commit 02ae9ec81e
123 changed files with 13600 additions and 531 deletions

View file

@ -91,7 +91,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
* @return {boolean} True if `values` is valid.
*/
validate: function(values) {
var valid = this._validator && this._validator.validate(values);
var valid = true;
if (this.hasValidator()) {
valid = this._validator.validate(values);
}
this.invalid = !valid;
return valid;
}