Skip to content

Commit

Permalink
Make it possible to have a comma in the display list of a combobox
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Apr 1, 2024
1 parent 2be5a72 commit 78b6741
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor/js/toolbox.js
Expand Up @@ -3774,6 +3774,9 @@ var EDITOR = (function ($, parent) {
var id = 'select_' + form_id_offset;
form_id_offset++;
var s_options = options.options.split(',');
for (var i=0; i<s_options.length; i++) {
s_options[i] = decodeURIComponent(s_options[i].replace(/%%/g, '%'));
}
var s_data = [];
if (options.data)
{
Expand Down

0 comments on commit 78b6741

Please sign in to comment.