keep findstate

This commit is contained in:
j 2018-08-07 17:54:32 +01:00
parent e7fce4cf26
commit 17d3114102

View file

@ -26,7 +26,7 @@ pandora.ui.editor = function(data) {
enableSetPosterFrame: !pandora.site.media.importFrames && data.editable, enableSetPosterFrame: !pandora.site.media.importFrames && data.editable,
enableSubtitles: ui.videoSubtitles, enableSubtitles: ui.videoSubtitles,
find: ui.itemFind, find: ui.itemFind,
findLayer: pandora.user.ui._findState.key, findLayer: ui._findState.key,
getFrameURL: function(position) { getFrameURL: function(position) {
return pandora.getMediaURL('/' + ui.item + '/' + ui.videoResolution + 'p' + position + '.jpg?' + data.modified); return pandora.getMediaURL('/' + ui.item + '/' + ui.videoResolution + 'p' + position + '.jpg?' + data.modified);
}, },
@ -238,6 +238,9 @@ pandora.ui.editor = function(data) {
listView: 'clip' listView: 'clip'
}); });
}, },
findlayer: function(data) {
ui._findState.key = data;
},
gainfocus: function() { gainfocus: function() {
pandora.$ui.mainMenu.replaceItemMenu(); pandora.$ui.mainMenu.replaceItemMenu();
}, },