Mercurial > hg > fapweb
changeset 408:db85700cb258
And so on.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 05 Dec 2013 16:58:51 +0200 |
parents | eaea1ae2bc3d |
children | b320959477ef |
files | admin.php |
diffstat | 1 files changed, 43 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/admin.php Thu Dec 05 16:57:38 2013 +0200 +++ b/admin.php Thu Dec 05 16:58:51 2013 +0200 @@ -521,8 +521,50 @@ function activateCompo() { jsSendPOSTRequest("action=ctrl&type=setCompoID&id="+jsGetValue("ctrlCompoListSel", 4), refreshCurrEntryListData); +} - jsSendPOSTRequest("action=ctrl&type=setCompoID&id="+jsGetValue("ctrlCompoList", 4), msuccess); + +function setSelectedEntry() +{ + jsSendPOSTRequest("action=ctrl&type=setEntry&index="+jsGetValue("ctrlEntryListSel", 4), refreshCurrEntryData); +} + + +function switchEntry(dir) +{ + jsSendPOSTRequest("action=ctrl&type="+ (dir < 0 ? "prevEntry" : "nextEntry"), refreshCurrEntryListData); +} + + +function cancelEditDisplaySlide() +{ + var nitem = document.getElementById("ctrlEditDisplaySlide"); + if (nitem) + nitem.style.display = "none"; +} + + +function updateDisplaySlide() +{ + cancelEditDisplaySlide(); +} + + +function addRotationListSlide() +{ +} + + +function deleteRotationListSlide() +{ +} + + +function newDisplaySlide() +{ + var nitem = document.getElementById("ctrlEditDisplaySlide"); + if (nitem) + nitem.style.display = "block"; }