only numbers in imdbId
This commit is contained in:
parent
099c2610e6
commit
2727c3d27d
1 changed files with 2 additions and 0 deletions
|
@ -623,6 +623,8 @@ pandora.ui.infoView = function(data) {
|
||||||
edit[key] = value
|
edit[key] = value
|
||||||
? Ox.decodeHTMLEntities(value).split('; ').map(Ox.encodeHTMLEntities)
|
? Ox.decodeHTMLEntities(value).split('; ').map(Ox.encodeHTMLEntities)
|
||||||
: [];
|
: [];
|
||||||
|
} else if (key == 'imdbId') {
|
||||||
|
edit[key] = value.match(/\d{7}/)[0];
|
||||||
} else {
|
} else {
|
||||||
edit[key] = value;
|
edit[key] = value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue