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

Commit

Permalink
Make the buttons order consistent in modules as well
Browse files Browse the repository at this point in the history
  • Loading branch information
qzminski committed Jul 26, 2017
1 parent 8a4eb3c commit 6df7c36
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dca/tl_module.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
/**
* Add operations
*/
$GLOBALS['TL_DCA']['tl_module']['list']['operations']['toggleOnDesktop'] = &$GLOBALS['TL_DCA']['tl_article']['list']['operations']['toggleOnDesktop'];
$GLOBALS['TL_DCA']['tl_module']['list']['operations']['toggleOnMobile'] = &$GLOBALS['TL_DCA']['tl_article']['list']['operations']['toggleOnMobile'];
array_insert($GLOBALS['TL_DCA']['tl_module']['list']['operations'], 4, [
'toggleOnDesktop' => &$GLOBALS['TL_DCA']['tl_article']['list']['operations']['toggleOnDesktop'],
'toggleOnMobile' => &$GLOBALS['TL_DCA']['tl_article']['list']['operations']['toggleOnMobile'],
]);

/**
* Add palettes
Expand Down

0 comments on commit 6df7c36

Please sign in to comment.