From d51625ab3ddc26a8819c3eb0e1682b4767ca057f Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Tue, 15 Mar 2011 23:58:45 -0700 Subject: [PATCH] Extended profile - hide add button when not needed (regression) --- plugins/ExtendedProfile/js/profiledetail.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/ExtendedProfile/js/profiledetail.js b/plugins/ExtendedProfile/js/profiledetail.js index fbcefe730d..7960cee83f 100644 --- a/plugins/ExtendedProfile/js/profiledetail.js +++ b/plugins/ExtendedProfile/js/profiledetail.js @@ -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); });