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:
Diffstat (limited to 'plugins/Goals/templates/GoalForm.js')
-rw-r--r--plugins/Goals/templates/GoalForm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Goals/templates/GoalForm.js b/plugins/Goals/templates/GoalForm.js
index f3c5af4227..22751ac0d3 100644
--- a/plugins/Goals/templates/GoalForm.js
+++ b/plugins/Goals/templates/GoalForm.js
@@ -137,7 +137,7 @@ function getAjaxAddGoal()
parameters.pattern = '.*';
parameters.caseSensitive = 0;
} else {
- parameters.matchAttribute = $('input[name=match_attribute][checked]').val();
+ parameters.matchAttribute = $('input[name=match_attribute]:checked').val();
parameters.patternType = $('[name=pattern_type]').val();
parameters.pattern = encodeURIComponent( $('input[name=pattern]').val() );
parameters.caseSensitive = $('#case_sensitive').attr('checked') == true ? 1: 0;