update config
This commit is contained in:
parent
ede6cfa984
commit
0d40c14c00
2 changed files with 15 additions and 1 deletions
12
config.jsonc
12
config.jsonc
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
{
|
||||
"annotations": {
|
||||
"separator": ";",
|
||||
"showUsers": true
|
||||
},
|
||||
"cantPlay": {
|
||||
|
@ -46,6 +47,7 @@
|
|||
"canManageHome": {"staff": true, "admin": true},
|
||||
"canManagePlacesAndEvents": {"member": true, "staff": true, "admin": true},
|
||||
"canManageTitlesAndNames": {"member": true, "staff": true, "admin": true},
|
||||
"canManageTranslations": {"admin": true},
|
||||
"canManageUsers": {"staff": true, "admin": true},
|
||||
"canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
||||
"canPlayVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
||||
|
@ -874,6 +876,7 @@
|
|||
"level": "guest",
|
||||
"ui": {
|
||||
"annotationsCalendarSize": 128,
|
||||
"annotationsHighlight": "none",
|
||||
"annotationsMapSize": 128,
|
||||
"annotationsRange": "position",
|
||||
"annotationsSize": 256,
|
||||
|
@ -899,11 +902,19 @@
|
|||
},
|
||||
"document": "",
|
||||
"documents": {},
|
||||
"documentFiltersSize": 176,
|
||||
"documentSize": 256,
|
||||
"documentView": "view",
|
||||
"documentsSelection": {},
|
||||
"documentsSort": [{"key": "name", "operator": "+"}],
|
||||
"documentsView": "grid",
|
||||
"documentFilters": [
|
||||
{"id": "author", "sort": [{"key": "items", "operator": "-"}]},
|
||||
{"id": "place", "sort": [{"key": "items", "operator": "-"}]},
|
||||
{"id": "date", "sort": [{"key": "name", "operator": "-"}]},
|
||||
{"id": "publisher", "sort": [{"key": "items", "operator": "-"}]},
|
||||
{"id": "language", "sort": [{"key": "items", "operator": "-"}]}
|
||||
],
|
||||
"edit": "",
|
||||
"edits": {},
|
||||
"editSelection": [],
|
||||
|
@ -969,6 +980,7 @@
|
|||
"showCalendarControls": true, // fixme: should be false
|
||||
"showClips": true,
|
||||
"showDocument": true,
|
||||
"showDocumentFilters": false,
|
||||
"showFilters": true,
|
||||
"showIconBrowser": false,
|
||||
"showInfo": true,
|
||||
|
|
|
@ -60,7 +60,9 @@ pandora.ui.infoView = function(data) {
|
|||
.bindEvent({
|
||||
click: function(data_) {
|
||||
if (data_.id == 'delete') {
|
||||
pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open();
|
||||
pandora.$ui.deleteItemsDialog = pandora.ui.deleteItemsDialog({
|
||||
items: [data]
|
||||
}).open();
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue