ID:1986624
 
Resolved
The values of <select> elements were not included in forms submitted from the browser control.
BYOND Version:509.1314
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 46.0.2490.86
Applies to:Webclient
Status: Resolved (509.1315)

This issue has been resolved.
Demo Project: http://files.byondhome.com/DarkerEmerald/BYOND%20Debug.zip

Descriptive Problem Summary:
- Topics don't include (select name =) options any more to the topic href_list[].

Numbered Steps to Reproduce Problem:
- See demo project.

Code Snippet (if applicable) to Reproduce Problem:
mob/Topic(href, href_list[])
switch(href_list["action"])
if("options")
var/TEST = href_list["music"]
world << "[TEST]" //Outputs null

mob/verb/Test_Topics()
var/html = {"
<html>
<head>
<title>Options</title>
</head>
<body>
<form method=get action=''>
<input type=hidden name=src value=\ref
[src]>
<style type="text/css">
body{background: background-position:center; background-color: black; color: white}
a:link,a:visited{color: ;text-decoration: none}a:hover {color:}
input{background-color: white ;color: black; border-color: grey}
select{background-color: white ;color: black}
radio{background-color: black; color: black}
</style>
<center><big><b><u>Options</u></b></big></center>
<br>
<table cellpadding="3" cellspacing="0" border="1" align="center">
<td>
<table cellpadding="3" cellspacing="0" border="0" align="center">
<tr>
"}


html += {"<tr><td>Music: </td><td><select name = music>
<option value="1" selected>On</option>
<option value="0" >Off</option>
</select></td></tr>"}


html += {"</tr>
</td>
</table>"}


html += {"
<input type="hidden" name="action" value="options">
<center><input type="submit" value="Submit"> - <input type="reset" value="Reset"></center>
</table>
</form>
</body>
</html>
"}


src << browse(html, "window=Topic;size=480x444")


Expected Results:
- href_list[] in the topic menu should return 1.

Actual Results:
- href_list[] returns null as if (select name=) wasn't included.

Does the problem occur:
Every time? Or how often?
- Every time
In other games?
- Unsure
In other user accounts?
- Yes
On other computers?
- Unsure

When does the problem NOT occur?
- Does not occur in dream seeker.

Workarounds:
- No work arounds.
Will you be sqeezing this in this fix as well lummox? Is badly needed for my game.
Yep, I'll get this in.
Lummox JR resolved issue with message:
The values of <select> elements were not included in forms submitted from the browser control.