mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update date
This commit is contained in:
parent
bd0354e38a
commit
d65219f9f8
8 changed files with 29 additions and 20 deletions
|
@ -122,7 +122,7 @@ is separate from validation, and `allowed-pattern` does not affect how the input
|
|||
|
||||
_bindValueChanged: function() {
|
||||
if (this.value !== this.bindValue) {
|
||||
this.value = !this.bindValue ? '' : this.bindValue;
|
||||
this.value = !(this.bindValue || this.bindValue === 0) ? '' : this.bindValue;
|
||||
}
|
||||
// manually notify because we don't want to notify until after setting value
|
||||
this.fire('bind-value-changed', {value: this.bindValue});
|
||||
|
@ -157,6 +157,7 @@ is separate from validation, and `allowed-pattern` does not affect how the input
|
|||
// For these keys, ASCII code == browser keycode.
|
||||
var anyNonPrintable =
|
||||
(event.keyCode == 8) || // backspace
|
||||
(event.keyCode == 9) || // tab
|
||||
(event.keyCode == 13) || // enter
|
||||
(event.keyCode == 27); // escape
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue