From 2d0acec7badbe1f6a6ef989317bb131226b2f75f Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Thu, 23 Dec 2010 10:43:00 +0200 Subject: [PATCH] Fix bug #693694 --- openlp/plugins/remotes/html/openlp.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/remotes/html/openlp.js b/openlp/plugins/remotes/html/openlp.js index 03e846376..0c7105a68 100644 --- a/openlp/plugins/remotes/html/openlp.js +++ b/openlp/plugins/remotes/html/openlp.js @@ -206,8 +206,12 @@ OpenLP.Namespace.create("OpenLP.Remote", { }, sendLiveSet: function (e) { - var id = OpenLP.Events.getElement(e).parent().attr("value"); - OpenLP.Remote.sendEvent("slidecontroller_live_set", id); + var tr = OpenLP.Events.getElement(e).parent(); + if (tr[0].tagName != "TR") + { + tr = tr.parent(); + } + OpenLP.Remote.sendEvent("slidecontroller_live_set", tr.attr("value")); return false; }, sendSetItem: function (e)