Skip to content

Commit

Permalink
Fix LinkedSelect if extra url args in Django 1.7. Fixes #310 #294
Browse files Browse the repository at this point in the history
  • Loading branch information
darklow committed Nov 19, 2014
1 parent c495cc2 commit 437f5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suit/static/suit/js/suit.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

var get_url = function ($add_link, $select) {
var value = $select.val();
return $add_link.attr('href') + '../' + value + '/';
return $add_link.attr('href').split('?')[0] + '../' + value + '/';
};

var add_link = function ($select) {
Expand Down

0 comments on commit 437f5ce

Please sign in to comment.