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:
authorrobocoder <anthon.pang@gmail.com>2009-08-07 00:49:57 +0400
committerrobocoder <anthon.pang@gmail.com>2009-08-07 00:49:57 +0400
commitdac66a7655b996e244bb824176334f5fa3626189 (patch)
tree44e35dd185b997c06de4ffd4a0d865342781c8bd /plugins/Goals/templates/GoalForm.js
parent4290e1253c846db798a8c8d21b1a2603f8553a13 (diff)
refs #870 - add description when selecting "manually" triggered goal
git-svn-id: http://dev.piwik.org/svn/trunk@1372 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Goals/templates/GoalForm.js')
-rw-r--r--plugins/Goals/templates/GoalForm.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Goals/templates/GoalForm.js b/plugins/Goals/templates/GoalForm.js
index c535bb56f2..f3c5af4227 100644
--- a/plugins/Goals/templates/GoalForm.js
+++ b/plugins/Goals/templates/GoalForm.js
@@ -23,6 +23,7 @@ function initGoalForm(goalMethodAPI, submitText, goalName, matchAttribute, patte
$('select[name=trigger_type] option[value=manually]').attr('selected', true);
$('input[name=match_attribute]').attr('disabled', true);
$('#match_attribute_section').hide();
+ $('#manual_trigger_section').show();
matchAttribute = 'url';
} else {
$('select[name=trigger_type] option[value=visitors]').attr('selected', true);
@@ -54,9 +55,11 @@ function bindGoalForm()
if(triggerTypeId == "manually") {
$('input[name=match_attribute]').attr('disabled', true);
$('#match_attribute_section').hide();
+ $('#manual_trigger_section').show();
} else {
$('input[name=match_attribute]').removeAttr('disabled');
$('#match_attribute_section').show();
+ $('#manual_trigger_section').hide();
}
});