Skip to content

Commit

Permalink
Merge pull request #28 from Kunstmaan/fix_dashboard_config
Browse files Browse the repository at this point in the history
fix dashboard configuration page
  • Loading branch information
jockri committed Jul 29, 2014
2 parents 1b8f1ff + 4ccdf8a commit e5c15a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Controller/GoogleAnalyticsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ public function configAction(Request $request)
$params['accountId'] = $config->getAccountId();
$params['propertyId'] = 0;
$params['profileId'] = 0;
$params['properties'] = array();
$params['profiles'] = array();

if ($params['accountId']) {
$params['propertyId'] = $config->getPropertyId();
Expand Down
4 changes: 3 additions & 1 deletion Resources/public/js/setup/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ $(function () {
});

function triggerUpdate() {
$('#accounts select').trigger('chosen:updated');
$('#properties select').trigger('chosen:updated');
$('#profiles select').trigger('chosen:updated');
$('#accounts select').trigger('liszt:updated');
$('#properties select').trigger('liszt:updated');
$('#profiles select').trigger('liszt:updated');

}

/* =============================== ACCOUNTS =============================== */
Expand Down

0 comments on commit e5c15a4

Please sign in to comment.