Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

displaying column of added row of one multiple select in add new form #39

Closed
GoogleCodeExporter opened this issue Apr 14, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. add new elt form with multiple select 
2. modify selected values
3. displayed values not pretty

What is the expected output? What do you see instead?
each value separated by comma

What version of the product are you using? On what operating system?
1.3

Please provide any additional information below.

proposed solution:

function _fnOnRowAdded(data) {
...
if (this.nodeName.toLowerCase() == "select" || this.tagName.toLowerCase() == 
"select") {
// HACK for select values 
 sCellValue = 
$.map(
 $.makeArray($("option:selected", this)), 
 function(n, i){
      return $(n).text();
 }).join(",");
}
...

                        } 

Original issue reported on code.google.com by philippe...@gmail.com on 3 Jul 2011 at 5:40

@GoogleCodeExporter
Copy link
Author

You are right. I have applied your fix in the latest version of plugin.

Thanks,
Jovan

Original comment by joc...@gmail.com on 20 Aug 2011 at 10:39

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant