JaquelineBrandao / yii

Automatically exported from code.google.com/p/yii
0 stars 0 forks source link

Typo in jquery.treeview.async.js #958

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
According to the docs, the GET parameter for the current node id should be
named 'source'. So this line should be changed in jquery.treeview.async.js:

function load(settings, root, child, container) {
    $.getJSON(settings.url, {root: root}, function(response) {

to

function load(settings, root, child, container) {
    $.getJSON(settings.url, {source: root}, function(response) {

Original issue reported on code.google.com by haertl.mike@gmail.com on 24 Feb 2010 at 11:05

GoogleCodeExporter commented 9 years ago
The documentation for CTreeView::rule is incorrect. The GET parameter should be
'root', not 'source'.

Original comment by qiang.xue on 26 Feb 2010 at 4:09