Skip to content

Commit 2f42a44

Browse files
committed
Assign drawer a random context to prevent it ever being open on page refresh
1 parent 75c45c5 commit 2f42a44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/content.index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function __viewIndex() {
6161
$this->Form->setAttribute('class', 'two columns');
6262

6363
$this->appendSubheading($welcome . ', ' . Administration::instance()->Author->get('first_name'), $actions);
64-
$this->insertDrawer(Widget::Drawer('dashboard', 'Dashboard', new XMLElement('span', '')), 'horizontal', FALSE);
64+
$this->insertDrawer(Widget::Drawer('dashboard', 'Dashboard', new XMLElement('span', ''), 'closed', time()), 'horizontal', FALSE);
6565

6666
$container = new XMLElement('div', NULL, array('id' => 'dashboard'));
6767

0 commit comments

Comments
 (0)