$container.find('.jsClipboardMarkAll').data('hasContainer', $containerID).click($.proxy(this._markAll, this));
$container.find('input.jsClipboardItem').data('hasContainer', $containerID).click($.proxy(this._click, this));
- if ($container.data('typeContainerID')) {
- this._containerData[$container.data('type')] = $container.data('typeContainerID');
- }
+ this._containerData[$container.data('type')] = {};
+ $.each($container.data(), $.proxy(function(index, element) {
+ if (index.match(/^type(.+)/)) {
+ this._containerData[$container.data('type')][WCF.String.lcfirst(index.replace(/^type/, ''))] = element;
+ }
+ }, this));
},
/**
parent::readParameters();
if (isset($_POST['action'])) $this->action = StringUtil::trim($_POST['action']);
- if (isset($_POST['containerData']) && is_array($_POST['containerData'])) $this->containerData = ArrayUtil::toIntegerArray($_POST['containerData']);
+ if (isset($_POST['containerData']) && is_array($_POST['containerData'])) $this->containerData = $_POST['containerData'];
if (isset($_POST['objectIDs']) && is_array($_POST['objectIDs'])) $this->objectIDs = ArrayUtil::toIntegerArray($_POST['objectIDs']);
if (isset($_POST['pageClassName'])) $this->pageClassName = StringUtil::trim($_POST['pageClassName']);
if (isset($_POST['type'])) $this->type = StringUtil::trim($_POST['type']);