zanata/zanata — comment on commit e1cff2b47f5b40295245ac3d06e14b66c4780ebe
File: server/zanata-war/src/main/java/org/zanata/action/LanguageTeamAction.java line 168
By seanf:

Rather than having a single toggle method, it might be slightly safer to have two idempotent methods, eg makeCoordinator and removeCoordinator. That way, if the function gets called twice for some reason (double click?), you don't undo the first action.