forked from openlp/openlp
Web interface does not always send all necessary data
bzr-revno: 1164 Fixes: https://launchpad.net/bugs/693694
This commit is contained in:
commit
b9bfb14c21
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user