Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2018-08-06 08:34:00 +0300
committerGitHub <noreply@github.com>2018-08-06 08:34:00 +0300
commit89210df0ec01e4c6b2eb9f2c01854be52adbfce6 (patch)
tree9e25acd2b6c534aea399e67797aec87b6c008658 /plugins/Morpheus
parent70ca09f0af2decc812e76fd7826c7496a4d42697 (diff)
Fixing regressions causing UI tests to fail (#13252)
* Request.initAuthenticationObject is not always called now so use different event. * default value for form field may not be JSON. * Add date parameter as default value in ajaxHelper in case it is needed. * update screenshot * Update screenshot. * Do not show default value when it is an array and only contains undefined values.
Diffstat (limited to 'plugins/Morpheus')
-rw-r--r--plugins/Morpheus/javascripts/ajaxHelper.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Morpheus/javascripts/ajaxHelper.js b/plugins/Morpheus/javascripts/ajaxHelper.js
index 5f8f171321..3184655933 100644
--- a/plugins/Morpheus/javascripts/ajaxHelper.js
+++ b/plugins/Morpheus/javascripts/ajaxHelper.js
@@ -532,6 +532,7 @@ function ajaxHelper() {
var defaultParams = {
idSite: piwik.idSite || broadcast.getValueFromUrl('idSite'),
period: piwik.period || broadcast.getValueFromUrl('period'),
+ date: piwik.date || broadcast.getValueFromUrl('date'),
segment: broadcast.getValueFromHash('segment', window.location.href.split('#')[1])
};