Created
May 16, 2019 23:03
-
-
Save LuisReyes98/8fddfeb79464405a16379b1df0af0b56 to your computer and use it in GitHub Desktop.
Lighttouch file reader for the popup model
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Method to prepare a popup for the template standard | |
-- @params | |
-- popup_id : uuid : the id of the popup | |
function loadpopup(popup_id) | |
local popup = contentdb.read_document(popup_id) | |
local popup_button = contentdb.read_document(popup.popup_button) | |
popup.id = popup_id | |
popup.button = popup_button | |
return popup | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment