Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
avoid null for viewport, fixed #55
Browse files Browse the repository at this point in the history
  • Loading branch information
dmolineus committed Jun 30, 2014
1 parent c229641 commit c3a86a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions module/config/bootstrap/layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
'3cl' => array('bootstrap_leftClass', 'bootstrap_mainClass', 'bootstrap_rightClass'),
),
),

'viewport' => '',
);

if(version_compare(VERSION, '3.3', '<')) {
Expand Down
4 changes: 2 additions & 2 deletions module/dca/tl_layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@
(
'label' => &$GLOBALS['TL_LANG']['tl_layout']['viewport'],
'exclude' => true,
'default' => $GLOBALS['BOOTSTRAP']['layout']['viewport'],
'default' => (string) $GLOBALS['BOOTSTRAP']['layout']['viewport'],
'inputType' => 'text',
'eval' => array('tl_class' => 'w50', 'decodeEntities' => true),
'eval' => array('tl_class' => 'w50', 'decodeEntities'=>true, 'maxlength'=>255),
'sql' => "varchar(255) NOT NULL default ''",
);

0 comments on commit c3a86a1

Please sign in to comment.