clear autocomplete after infopage edit

This commit is contained in:
j 2016-09-15 19:15:28 +02:00
parent 6c013ebc92
commit 803dcc6382

View file

@ -503,6 +503,8 @@ pandora.ui.infoView = function(data) {
Ox.Request.clearCache(); // fixme: too much Ox.Request.clearCache(); // fixme: too much
pandora.UI.set({item: result.data.id}); pandora.UI.set({item: result.data.id});
pandora.$ui.browser.value(data.id, 'id', result.data.id); pandora.$ui.browser.value(data.id, 'id', result.data.id);
} else {
Ox.Request.clearCache('autocomplete');
} }
pandora.updateItemContext(); pandora.updateItemContext();
pandora.$ui.browser.value(result.data.id, key, result.data[key]); pandora.$ui.browser.value(result.data.id, key, result.data[key]);