added re-grabbing of notes onClick
This commit is contained in:
parent
2e4349bd49
commit
6c4973a274
@ -1,8 +1,8 @@
|
||||
function onLoad()
|
||||
notes = self.getGMNotes()
|
||||
local notes = self.getGMNotes()
|
||||
|
||||
-- default parameters (e.g. scenarios)
|
||||
buttonParameters = {
|
||||
local buttonParameters = {
|
||||
label = "Download",
|
||||
click_function = "buttonClick_download",
|
||||
function_owner = self,
|
||||
@ -37,5 +37,5 @@ function onLoad()
|
||||
end
|
||||
|
||||
function buttonClick_download()
|
||||
Global.call('placeholder_download', { url = notes, replace = self.guid })
|
||||
Global.call('placeholder_download', { url = self.getGMNotes(), replace = self.guid })
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user