Skip to content

Commit

Permalink
Fixed issue: Problems with yiiwheels and momentjs
Browse files Browse the repository at this point in the history
  • Loading branch information
markusfluer committed Aug 3, 2016
1 parent a768c8b commit 02a9cc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/models/AdminTheme.php
Expand Up @@ -203,6 +203,7 @@ public function registerStylesAndScripts()

Yii::app()->clientScript->addPackage( 'admin-theme', $package); // add the package
Yii::app()->clientScript->registerPackage('admin-theme'); // register the package
Yii::app()->clientScript->registerPackage('moment'); // register moment for correct dateTime calculation
}


Expand Down

0 comments on commit 02a9cc9

Please sign in to comment.