Extended profile - hide add button when not needed (regression)

This commit is contained in:
Zach Copley 2011-03-15 23:58:45 -07:00
parent bda9d43c56
commit d51625ab3d
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ SN_EXTENDED.reorder = function(cls) {
var divs = $('div[class=' + cls + ']');
$(divs).each(function(i, div) {
$(div).find('a.add_row').hide();
$(div).find('a.remove_row').show();
SN_EXTENDED.replaceIndex(SN_EXTENDED.rowIndex(div), i);
});