Skip to content

Commit

Permalink
Merge pull request #54 from backbone87/master
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasisaak committed May 7, 2012
2 parents a8dea42 + c8473aa commit bace6d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions system/modules/multicolumnwizard/MultiColumnWizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -823,10 +823,10 @@ protected function generateTable($arrUnique, $arrDatepicker, $strHidden, $arrIte
$return .= '</tbody></table>';

$return .= '<script>
var MCW_' . $this->strId . ' = new MultiColumnWizard({
table: \'' . 'ctrl_' . $this->strId . '\',
maxCount: ' . $this->maxCount . ',
minCount: ' . $this->minCount . ',
window["MCW_" + ' . json_encode($this->strId) . '] = new MultiColumnWizard({
table: "ctrl_" + ' . json_encode($this->strId) . ',
maxCount: ' . intval($this->maxCount) . ',
minCount: ' . intval($this->minCount) . ',
uniqueFields: [] // TODO: implement
});
</script>';
Expand Down

0 comments on commit bace6d6

Please sign in to comment.