From 64a189bca03770f95aa8240f7a4898862237c138 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 15 Jul 2013 09:58:43 +0000 Subject: [PATCH] add copy handlers to context browser --- static/js/pandora/browser.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/js/pandora/browser.js b/static/js/pandora/browser.js index ffba9a318..ab44fd525 100644 --- a/static/js/pandora/browser.js +++ b/static/js/pandora/browser.js @@ -127,6 +127,12 @@ pandora.ui.browser = function() { }) .addClass('OxMedia') .bindEvent({ + copy: function() { + Ox.Clipboard.copy(pandora.user.ui.item, 'item'); + }, + copyadd: function() { + Ox.Clipboard.add(pandora.user.ui.item, 'item'); + }, open: function() { that.scrollToSelection(); },