Skip to content

Commit

Permalink
Deleted redundant help/tool tip on page settings (#15061)
Browse files Browse the repository at this point in the history
Removed redundant help/tool tip in page settings "Query history length" area.

Fixes issue #15029

Signed-off-by: Nupur Agrawal <nupur202000@gmail.com>
  • Loading branch information
murex971 authored and ibennetch committed Mar 24, 2019
1 parent f9cb2ad commit b09d956
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions libraries/classes/Config/FormDisplayTemplate.php
Expand Up @@ -361,8 +361,6 @@ public function displayInput(
if (isset($opts['comment_warning']) && $opts['comment_warning']) {
$class .= ' field-comment-warning';
}
$htmlOutput .= '<span class="' . $class . '" title="'
. htmlspecialchars($opts['comment']) . '">i</span>';
}
if ($isSetupScript
&& isset($opts['userprefs_comment'])
Expand Down
6 changes: 0 additions & 6 deletions test/classes/Config/FormDisplayTemplateTest.php
Expand Up @@ -217,12 +217,6 @@ public function testDisplayInput()
$result
);

$this->assertStringContainsString(
'<span class="field-comment-mark field-comment-warning" '
. 'title="testComment">',
$result
);

$this->assertStringContainsString(
'<a class="restore-default hide" href="#test/path"',
$result
Expand Down

0 comments on commit b09d956

Please sign in to comment.