1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00

Update TinyMCE to v4.7.5

Resolves Codesample inline editing glitch.
This commit is contained in:
sauls8t 2018-01-23 12:34:43 +00:00
parent 4c80b8877d
commit 88b99979a9
90 changed files with 186 additions and 77 deletions

View file

@ -58,3 +58,14 @@ func (user *User) GetAccount(orgID string) (a account.Account, found bool) {
return a, false
}
// Exists ehecks if user is in array.
func Exists(users []User, userID string) bool {
for _, u := range users {
if u.RefID == userID {
return true
}
}
return false
}