This commit is contained in:
Raoul Snyman 2010-12-23 10:43:00 +02:00
parent 0f554fc170
commit 2d0acec7ba

View File

@ -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)