Skip to content

Commit

Permalink
#53
Browse files Browse the repository at this point in the history
  • Loading branch information
backbone87 committed May 7, 2012
1 parent a8dea42 commit c8473aa
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 c8473aa

Please sign in to comment.