Widget:FaqViewer: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 755: | Line 755: | ||
$.each(cleanJSON, function(mainKey, mainValue){ | $.each(cleanJSON, function(mainKey, mainValue){ | ||
html += "<h3>"+mainKey+"</h3><div class='accordion'>"; | html += "<h3>"+mainKey+"</h3><div class='accordion'>"; | ||
mainValue.sort() | $.each(mainValue.sort(), function(subKey, subValue){ | ||
html += "<h3>"+subKey+"</h3><div class='accordion'>"; | html += "<h3>"+subKey+"</h3><div class='accordion'>"; | ||
$.each(subValue, function(qKey, qValue){ | $.each(subValue, function(qKey, qValue){ |