diff options
author | Stefan Giehl <stefan@matomo.org> | 2019-04-12 00:03:03 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2019-04-12 00:03:03 +0300 |
commit | 49766472e7d3c658ceae76d8f0f58f7403a2f0f7 (patch) | |
tree | ea184e8c4598b2faa1afb8809b7a076f12396e69 /plugins/Goals | |
parent | 5ed09086f99b6656cc3227ded3c146b05046577e (diff) |
Avoid browser tooltips for piwik fields (#13931)
by using data-title attribute instead of title
Diffstat (limited to 'plugins/Goals')
-rw-r--r-- | plugins/Goals/templates/_formAddGoal.twig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Goals/templates/_formAddGoal.twig b/plugins/Goals/templates/_formAddGoal.twig index 0d6e2b93f3..19bad93bf3 100644 --- a/plugins/Goals/templates/_formAddGoal.twig +++ b/plugins/Goals/templates/_formAddGoal.twig @@ -11,13 +11,13 @@ <div piwik-field uicontrol="text" name="goal_name" ng-model="manageGoals.goal.name" maxlength="50" - title="{{ 'Goals_GoalName'|translate|e('html_attr') }}"> + data-title="{{ 'Goals_GoalName'|translate|e('html_attr') }}"> </div> <div piwik-field uicontrol="text" name="goal_description" ng-model="manageGoals.goal.description" maxlength="255" - title="{{ 'General_Description'|translate|e('html_attr') }}"> + data-title="{{ 'General_Description'|translate|e('html_attr') }}"> </div> <div class="row goalIsTriggeredWhen"> @@ -88,7 +88,7 @@ <div piwik-field uicontrol="text" name="pattern" ng-model="manageGoals.goal.pattern" maxlength="255" - title="{{ 'Goals_Pattern'|translate|e('html_attr') }}" + data-title="{{ 'Goals_Pattern'|translate|e('html_attr') }}" full-width="true"> </div> </div> @@ -124,7 +124,7 @@ <div piwik-field uicontrol="checkbox" name="case_sensitive" ng-model="manageGoals.goal.caseSensitive" ng-show="manageGoals.goal.triggerType != 'manually'" - title="{{ 'Goals_CaseSensitive'|translate|e('html_attr') }} {{ 'Goals_Optional'|translate|e('html_attr') }}"> + data-title="{{ 'Goals_CaseSensitive'|translate|e('html_attr') }} {{ 'Goals_Optional'|translate|e('html_attr') }}"> </div> <div piwik-field uicontrol="radio" name="allow_multiple" @@ -144,7 +144,7 @@ <div piwik-field uicontrol="checkbox" name="use_event_value" ng-model="manageGoals.goal.useEventValueAsRevenue" - title="{{ 'Goals_UseEventValueAsRevenue'|translate|e('html_attr') }}" + data-title="{{ 'Goals_UseEventValueAsRevenue'|translate|e('html_attr') }}" ng-show="manageGoals.goal.matchAttribute == 'event'" inline-help="{{ 'Goals_EventValueAsRevenueHelp'|translate|e('html_attr') }} <br/><br/> {{ 'Goals_EventValueAsRevenueHelp2'|translate|e('html_attr') }}" > |