its possible to disable all users

This commit is contained in:
j 2015-04-16 20:02:06 +01:00
parent 755dcdccaa
commit c83e7b6930

View file

@ -466,7 +466,7 @@ Ox.AnnotationPanel = function(options, self) {
self.options.showUsers && self.users.length ? [
{},
{id: 'users', title: Ox._('Show Users'), disabled: true},
{group: 'users', min: 1, max: -1, items: self.users.map(function(user) {
{group: 'users', min: 0, max: -1, items: self.users.map(function(user) {
return {
id: 'user_' + user,
title: Ox.encodeHTMLEntities(user),