File tree Expand file tree Collapse file tree
libraries/classes/Controllers/Preferences
public/themes/bootstrap/scss Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515use function __ ;
1616use function count ;
17+ use function define ;
1718
1819class TwoFactorController extends AbstractController
1920{
@@ -66,5 +67,11 @@ public function __invoke(ServerRequest $request): void
6667 'backends ' => $ twoFactor ->getAllBackends (),
6768 'missing ' => $ twoFactor ->getMissingDeps (),
6869 ]);
70+
71+ if ($ this ->response ->isAjax ()) {
72+ $ this ->response ->addJSON ('disableNaviSettings ' , true );
73+ } else {
74+ define ('PMA_DISABLE_NAVI_SETTINGS ' , true );
75+ }
6976 }
7077}
Original file line number Diff line number Diff line change @@ -889,7 +889,7 @@ textarea#partitiondefinition {
889889
890890// for elements that should be revealed only via js
891891.hide {
892- display : none ;
892+ display : none !important ;
893893}
894894
895895#list_server {
You can’t perform that action at this time.
0 commit comments