forked from openlp/openlp
Fix bug #693694
This commit is contained in:
parent
0f554fc170
commit
2d0acec7ba
@ -206,8 +206,12 @@ OpenLP.Namespace.create("OpenLP.Remote", {
|
|||||||
},
|
},
|
||||||
sendLiveSet: function (e)
|
sendLiveSet: function (e)
|
||||||
{
|
{
|
||||||
var id = OpenLP.Events.getElement(e).parent().attr("value");
|
var tr = OpenLP.Events.getElement(e).parent();
|
||||||
OpenLP.Remote.sendEvent("slidecontroller_live_set", id);
|
if (tr[0].tagName != "TR")
|
||||||
|
{
|
||||||
|
tr = tr.parent();
|
||||||
|
}
|
||||||
|
OpenLP.Remote.sendEvent("slidecontroller_live_set", tr.attr("value"));
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
sendSetItem: function (e)
|
sendSetItem: function (e)
|
||||||
|
Loading…
Reference in New Issue
Block a user