From 522328693d5499585fd8f5b96acc25f7141fad2f Mon Sep 17 00:00:00 2001 From: j Date: Wed, 31 Jul 2019 11:53:12 +0200 Subject: [PATCH] add isMixed/isMultiple --- static/js/infoView.mdr.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/infoView.mdr.js b/static/js/infoView.mdr.js index 9952aa3..f3a1a73 100644 --- a/static/js/infoView.mdr.js +++ b/static/js/infoView.mdr.js @@ -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 = {