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:
parent
4c80b8877d
commit
88b99979a9
90 changed files with 186 additions and 77 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue