Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

permito pasarle una expresion jquery como target

  • Loading branch information...
commit 207271f45f48de6262746d7f87ae5fa07e982018 1 parent 5818197
Emmanuel Nicolau authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  vendor/assets/javascripts/jquery_nested_form.js
1  vendor/assets/javascripts/jquery_nested_form.js
View
@@ -54,6 +54,7 @@
},
insertFields: function(content, assoc, link) {
var target = $(link).data('target');
+ if (target && target.substring(0, 1) == "$") target = eval(target);
if (target) {
return $(content).appendTo($(target));
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.