Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
Fixed multiple tagify fields in smae page
Browse files Browse the repository at this point in the history
  • Loading branch information
sirpengi committed Jul 16, 2012
1 parent 53b0d67 commit 7ceed1e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hicap/hicap/templates/membership/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
$(document).ready(function(){
var $tags = $('.tagify');
$tags.each(function(i, e){
$tags.tagify();
var $parent = $tags.parents('form');
var $e = $(e);
$e.tagify();
var $parent = $e.parents('form');
$parent.bind("submit", function(e){
$tags.tagify('serialize');
$e.tagify('serialize');
});
});
});
Expand Down

0 comments on commit 7ceed1e

Please sign in to comment.