Skip to content

Commit

Permalink
Fixed issue #06387: Broken Add vs Replace Buttons on Quick Add for La…
Browse files Browse the repository at this point in the history
…bels

Dev Added condition to check for existing labels
  • Loading branch information
tpartner committed Jul 28, 2012
1 parent 0014a45 commit 7a3de01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/admin/updateset.js
Expand Up @@ -97,7 +97,7 @@ function quickaddfunction(){
i++;
}

if (index!=0){
if (index!=0 || (!lsreplace && $("#tabs>div:not(:last) tbody>tr").length > 0)){
event = {};
event.target = $(".btnaddanswer:last");
var retcode = add_label(event);
Expand Down

0 comments on commit 7a3de01

Please sign in to comment.