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';
|
'use strict';
|
||||||
|
|
||||||
pandora.ui.infoView = function(data) {
|
pandora.ui.infoView = function(data, isMixed) {
|
||||||
|
isMixed = isMixed || {};
|
||||||
|
|
||||||
var ui = pandora.user.ui,
|
var ui = pandora.user.ui,
|
||||||
|
isMultiple = arguments.length == 2,
|
||||||
canEdit = pandora.site.capabilities.canEditMetadata[pandora.user.level] || data.editable,
|
canEdit = pandora.site.capabilities.canEditMetadata[pandora.user.level] || data.editable,
|
||||||
canRemove = pandora.site.capabilities.canRemoveItems[pandora.user.level] || data.editable,
|
canRemove = pandora.site.capabilities.canRemoveItems[pandora.user.level] || data.editable,
|
||||||
css = {
|
css = {
|
||||||
|
|
Loading…
Reference in a new issue