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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-12-09 17:25:24 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-12-09 17:25:24 +0300
commitb4a569e9aa60eb110a36e220740b51b7582d5f6d (patch)
tree0036c13d73b1f802a2ff7c28b2c40385a85ca070
parenta3ea3d2fc463d32d2dc62c828a422f18d5e1fb2b (diff)
Fixing undefined in goal type (this must be some sort of jquery broken backward compatibility??)
-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;