forked from 0x2620/pandora
clear id selecting instance, fixes #1697
This commit is contained in:
parent
9491d68227
commit
a3f51dbeb2
1 changed files with 1 additions and 0 deletions
|
@ -507,6 +507,7 @@ pandora.ui.mediaView = function(options, self) {
|
|||
data.ids.length == 1 && pandora.api.parsePath({
|
||||
path: self.$instancesList.value(data.ids[0], 'path')
|
||||
}, function(result) {
|
||||
self.$idInput.value('');
|
||||
['title', 'director', 'year'].forEach(function(key) {
|
||||
if (result.data[key]) {
|
||||
self['$' + key + 'Input'].value(
|
||||
|
|
Loading…
Reference in a new issue