Commit aa4f058a authored by David Stutz's avatar David Stutz

Merge pull request #343 from goncons/master

Little correction to dataprovider.
parents f40fe73a 3e96c7e0
......@@ -894,7 +894,7 @@
var optionDOM = "";
var groupCounter = 0;
$.each(dataprovider, function (option) {
$.each(dataprovider, function (index, option) {
if ($.isArray(option.children)) {
groupCounter++;
optionDOM += '<optgroup label="' + (option.title || 'Group ' + groupCounter) + '">';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment