davesmn / storelocator

Automatically exported from code.google.com/p/storelocator
0 stars 0 forks source link

left panel Modification failed #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Change checkbox to radio button on feature input at left panel.
<input type="checkbox"> to <input type="radio">
2.fail to get the result.

What is the expected output? What do you see instead?
Basically I want to allow users to select only 1 feature on options.
Thats why i switched the input type from checkbox to radio button.
Any idea? Thanks in advance!

Original issue reported on code.google.com by parkc...@gmail.com on 23 Feb 2013 at 2:26

GoogleCodeExporter commented 8 years ago
You'll need to change the code here:
http://code.google.com/p/storelocator/source/browse/js/panel.js#130

Original comment by cbro@google.com on 25 Feb 2013 at 3:42

GoogleCodeExporter commented 8 years ago
I changed exact that line from
var checkbox = $('<input type="checkbox"/>'); to 
var checkbox = $('<input type="radio" name="group"/>'); but
It does not return correct result. It seems like it needed to tweak the code 
for check box option.
Any idea?

Original comment by parkc...@gmail.com on 25 Feb 2013 at 7:38