Browse code

Do not expect DataContainer object for onload callback functions as it breaks the ajax visibility toggling

Benjamin Roth authored on05/10/2017 18:50:22
Showing1 changed files
... ...
@@ -98,7 +98,7 @@ class tl_content_eSM_artLayout extends \Backend
98 98
    *
99 99
    * @param DataContainer $dc
100 100
    */
101
-  public function setDefault(\DataContainer $dc)
101
+  public function setDefault($dc)
102 102
   {
103 103
     if ($_GET['act'] == 'edit')
104 104
     {