Descriptive Problem Summary:
Since the WebClient doesn't render checkboxes as checkboxes, I was trying to work around it by providing my own checkbox images. I ran into a bug where winget isn't returning the name of the controls image.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
Have a button that calls ToggleCheck and passes in the name of the control being clicked.
Example: ToggleCheck EnableAttritionCheckbox
ToggleCheck(var/t as text)
var/buttonImage = winget(src, t, "image");
alert(buttonImage)
Expected Results:
The WebClient & WinClient alert 'Checked.dmi' or the current state of the checkbox.
Actual Results:
The WebClient alerts a blank alert dialog.
The WinClient alerts 'Checked.dmi'
Workarounds:
Well, I haven't found one yet because of another issue which I'll post on our CheckBox thread.