Skip to content

Commit

Permalink
Fixed #57 bug with element creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Nov 2, 2015
1 parent e9afeac commit e8b96a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/MadeYourDay/Contao/CustomElements.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ class CustomElements
*/
public function onloadCallback($dc)
{
if (\Input::get('act') === 'create') {
return;
}

if (\Input::get('act') === 'edit') {
$this->reloadConfig();
}
Expand Down

0 comments on commit e8b96a4

Please sign in to comment.