Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
use jquery data function
Browse files Browse the repository at this point in the history
  • Loading branch information
lest committed Sep 18, 2012
1 parent 52381cd commit 5368bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/jquery_nested_form.js
Expand Up @@ -9,7 +9,7 @@ jQuery(function($) {
// Setup
var link = e.currentTarget;
var assoc = $(link).data('association'); // Name of child
var blueprint = $('#' + $(link).attr('data-blueprint-id'));
var blueprint = $('#' + $(link).data('blueprint-id'));
var content = blueprint.data('blueprint'); // Fields template

// Make the context correct by replacing new_<parents> with the generated ID
Expand Down

0 comments on commit 5368bac

Please sign in to comment.