Extended profile - hide add button when not needed (regression)
This commit is contained in:
parent
bda9d43c56
commit
d51625ab3d
@ -5,6 +5,7 @@ SN_EXTENDED.reorder = function(cls) {
|
|||||||
var divs = $('div[class=' + cls + ']');
|
var divs = $('div[class=' + cls + ']');
|
||||||
|
|
||||||
$(divs).each(function(i, div) {
|
$(divs).each(function(i, div) {
|
||||||
|
$(div).find('a.add_row').hide();
|
||||||
$(div).find('a.remove_row').show();
|
$(div).find('a.remove_row').show();
|
||||||
SN_EXTENDED.replaceIndex(SN_EXTENDED.rowIndex(div), i);
|
SN_EXTENDED.replaceIndex(SN_EXTENDED.rowIndex(div), i);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user