Skip to content

Commit b576388

Browse files
committed
fix: adds GRCRT modules sorting
1 parent 1e8ca5f commit b576388

File tree

5 files changed

+6
-16
lines changed

5 files changed

+6
-16
lines changed

GRCRTMain.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function _GRCRTMain(){
4747
this.HelpTabs = {}
4848
this.RepType = ""
4949
this.menu = {
50-
'about' :
50+
99 :
5151
{
5252
'name' : 'HELPTAB1',
5353
'action' : "RepConvGRC.openGRCRT('HELPTAB1')"

modules/GRCRT_AO.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,11 +397,11 @@ function _GRCRT_AO() {
397397
}
398398

399399
// dodanie do menu
400-
RepConv.menu.academy_overview =
400+
RepConv.menu[4] =
401401
{
402402
'name' : 'AO.TITLE',
403403
'action' : "GRCRT_AO.windowOpen();",
404-
'class' : 'aom',
404+
'class' : 'aom'
405405
}
406406

407407
// ikona w menu

modules/GRCRT_Radar.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,16 +1094,6 @@ function _GRCRT_Radar() {
10941094
)
10951095
)
10961096
)
1097-
/*
1098-
<div class="modifier">
1099-
<div class="modifier_icon power power_icon45x45 unit_movement_boost"></div>
1100-
<div class="checkbox_new checked" data-modifierid="unit_movement_boost">
1101-
<div class="cbx_icon"></div><div class="cbx_caption"></div>
1102-
</div>
1103-
</div>
1104-
1105-
*/
1106-
11071097
.append(
11081098
$('<br/>', {'style':'clear: both'})
11091099
)
@@ -1120,7 +1110,7 @@ function _GRCRT_Radar() {
11201110
})
11211111
}
11221112
// dodanie do menu
1123-
RepConv.menu.radar =
1113+
RepConv.menu[1] =
11241114
{
11251115
'name' : 'RADAR.TOWNFINDER',
11261116
'action' : "GRCRT_Radar.windowOpen();",

modules/GRCRT_TSL.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function _GRCRT_TSL() {
1616

1717

1818
// dodanie do menu
19-
RepConv.menu.tsl = {
19+
RepConv.menu[3] = {
2020
'name' : 'TSL.WND.WINDOWTITLE',
2121
'action' : "GRCRT_TSL.createWindow();",
2222
'class' : 'tsl'

modules/RepConvABH.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function _RepConvABH(){
1515
}
1616
;
1717
function _btn(){
18-
RepConv.menu.abh =
18+
RepConv.menu[2] =
1919
{
2020
'name' : 'ABH.WND.WINDOWTITLE',
2121
'action' : "RepConvABH.showView()",

0 commit comments

Comments
 (0)