- Code: Select all
function MyPlugin(Sender) {
Script.Message("Sender: " + _t(Sender));
Script.Message("Sender FileName: " + _t(Sender.FileName));
}
Script.RegisterAction("", "My Plugin", "", "MyPlugin");
Then I get the following error in line 3 (the one with Sender.FileName):
Plugin "MyPlugin": Line 3:3: Unknown type: 'TAction'
I'm pretty sure this worked before.
---------------------------------------------
And another bug?
If I read the value of "Document.FileName", modify it and write it back, then the next time I try to read it, the "Document.FileName" property returns an empty string.
Using WeBuilder 15.4.0.206