From e05f9186668444e3551d90ee2c083773bac58873 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 6 Jun 2014 14:19:04 +0300 Subject: [PATCH] handle 'link to selection' --- static/js/editor.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/editor.js b/static/js/editor.js index 189fbe12e..550caf3a3 100644 --- a/static/js/editor.js +++ b/static/js/editor.js @@ -186,6 +186,10 @@ pandora.ui.editor = function(data) { Ox.getObjectById(pandora.site.layers, data.layer).title ).open(); }, + linktoselection: function(data) { + pandora.$ui.linkVideoDialog && pandora.$ui.linkVideoDialog.remove(); + pandora.$ui.linkVideoDialog = pandora.ui.linkVideoDialog().open(); + }, loop: function(data) { pandora.UI.set({videoLoop: data.loop}); },