rabihkodeih / bootstrap-transfer

This is a two-column transfer multi-select widget inspired by Django admin module's similar widget.
Other
45 stars 46 forks source link

Bootstrap-transfer doesn't support <option> tag values with spaces #2

Open cdeyoung opened 12 years ago

cdeyoung commented 12 years ago

As is, Bootstrap-transfer doesn't support

And only "test" will be sent to the server.

In order to support

source[i].append('<option ' + selected + 'value=' + e[0].value + '>' + e[0].content + '</option>');

to this:

source[i].append('<option ' + selected + 'value="' + e[0].value + '">' + e[0].content + '</option>');

Notice the double quotes in the value= section?

Again, great plugin with just a couple of minor issues.