Update css class of region menu entry.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 30 Dec 2019 22:05:37 +0000 (22:05 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 30 Dec 2019 22:05:37 +0000 (22:05 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@2899 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrreport_body.php

index 23b7f1c9569abebea81777579755658ae702a4ce..cd3430971a5c1b8b6d0ac7ef1ec348d6f94b3ecb 100644 (file)
@@ -1159,9 +1159,9 @@ class WrReport {
                        $menu = $new_menu;
 
                        // add region menu entry
-                       $icon = MobileUI::iconClass('random', 'before');
+                       $icon = MobileUI::iconClass('', 'before', 'mw-ui-icon-wr-regions');
                        $title = Title::newFromText('Region', NS_CATEGORY);
-                       $menu->insert('region')->addComponent('Regionen', $title->getLocalURL(), $icon, array('id' => 'regionButton', 'data-event-name' => 'region'));
+                       $menu->insert('region')->addComponent('Regionen', $title->getLocalURL(), $icon);
 
                        // add "new reports" entry
                        $icon = MobileUI::iconClass('', 'before', 'mw-ui-icon-wr-new-reports');