diff options
author | Matthieu Aubry <matt@piwik.org> | 2014-10-07 07:40:52 +0400 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2014-10-07 07:40:52 +0400 |
commit | 204e6dcdd1f47ce2c88f43c2738482ee1ce2f770 (patch) | |
tree | 1a3d0c9777840a206883b1a2177a3a29bde60dd5 /plugins | |
parent | 87df2a9e4b77028f5189283568f27d8b64e3982e (diff) | |
parent | 928bc57057a3cf8cf087590dea9c76374062d0ac (diff) |
Merge pull request #6395 from piwik/fix-ui-tests
Fixes the UI tests (admin_privacy_settings)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/PrivacyManager/javascripts/privacySettings.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/PrivacyManager/javascripts/privacySettings.js b/plugins/PrivacyManager/javascripts/privacySettings.js index 4f0260e7d6..f40985b984 100644 --- a/plugins/PrivacyManager/javascripts/privacySettings.js +++ b/plugins/PrivacyManager/javascripts/privacySettings.js @@ -93,7 +93,10 @@ $(document).ready(function () { toggleBlock("deleteLogSettings", $("input[name=deleteEnable]:checked").val()); toggleBlock("anonymizeIPenabled", $("input[name=anonymizeIPEnable]:checked").val()); toggleBlock("deleteReportsSettings", $("input[name=deleteReportsEnable]:checked").val()); - toggleBlock("deleteOldReportsMoreInfo", $("input[name=deleteReportsEnable]:checked").val()); + // This one is in an AngularJS directive, so is generated later + setTimeout(function () { + toggleBlock("deleteOldReportsMoreInfo", $("input[name=deleteReportsEnable]:checked").val()); + }, 500); toggleOtherDeleteSections(); }); |