Skip to content

Commit 9e720cc

Browse files
committed
Merge pull request mar10#245 from burakcakirel/master
Generate form elements with same name attribute (fix for PHP)
2 parents 082a027 + 256194a commit 9e720cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.fancytree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,7 @@ Fancytree.prototype = /** @lends Fancytree# */{
18831883
generateFormElements: function(selected, active) {
18841884
// TODO: test case
18851885
var nodeList,
1886-
selectedName = (selected !== false) ? "ft_" + this._id : selected,
1886+
selectedName = (selected !== false) ? "ft_" + this._id + "[]" : selected,
18871887
activeName = (active !== false) ? "ft_" + this._id + "_active" : active,
18881888
id = "fancytree_result_" + this._id,
18891889
$result = this.$container.find("div#" + id);

0 commit comments

Comments
 (0)