add isMixed/isMultiple
This commit is contained in:
parent
6de857fbd0
commit
522328693d
1 changed files with 3 additions and 1 deletions
|
@ -1,8 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
pandora.ui.infoView = function(data) {
|
||||
pandora.ui.infoView = function(data, isMixed) {
|
||||
isMixed = isMixed || {};
|
||||
|
||||
var ui = pandora.user.ui,
|
||||
isMultiple = arguments.length == 2,
|
||||
canEdit = pandora.site.capabilities.canEditMetadata[pandora.user.level] || data.editable,
|
||||
canRemove = pandora.site.capabilities.canRemoveItems[pandora.user.level] || data.editable,
|
||||
css = {
|
||||
|
|
Loading…
Reference in a new issue