@@ -8,9 +8,9 @@ function OpenReportOperations() {
88 $ ( '#page-operations-li' ) . removeClass ( 'active' ) ;
99 $ ( '#events-operations-li' ) . removeClass ( 'active' ) ;
1010 $ ( '#editandsave-operations-li' ) . removeClass ( 'active' ) ;
11-
11+
1212 $ ( "#report-operations-div .function-ul li.active" ) . click ( )
13- $ ( "#selected-catogory-button" ) . html ( "Report operations" ) ;
13+ $ ( "#selected-catogory-button" ) . text ( "Report operations" ) ;
1414}
1515
1616function OpenPageOperations ( ) {
@@ -26,7 +26,7 @@ function OpenPageOperations() {
2626
2727 $ ( "#page-operations-div .function-ul li.active" ) . click ( ) ;
2828
29- $ ( "#selected-catogory-button" ) . html ( "Page operations" ) ;
29+ $ ( "#selected-catogory-button" ) . text ( "Page operations" ) ;
3030}
3131
3232function OpenEventOperations ( ) {
@@ -42,7 +42,7 @@ function OpenEventOperations() {
4242
4343 $ ( "#events-operations-div .function-ul li.active" ) . click ( ) ;
4444
45- $ ( "#selected-catogory-button" ) . html ( "Events Listener" ) ;
45+ $ ( "#selected-catogory-button" ) . text ( "Events Listener" ) ;
4646}
4747
4848function OpenEditAndSaveOperations ( ) {
@@ -55,26 +55,34 @@ function OpenEditAndSaveOperations() {
5555 $ ( '#report-operations-li' ) . removeClass ( 'active' ) ;
5656 $ ( '#events-operations-li' ) . removeClass ( 'active' ) ;
5757 $ ( '#editandsave-operations-li' ) . addClass ( 'active' ) ;
58-
58+
5959 $ ( "#editandsave-operations-div .function-ul li.active" ) . click ( ) ;
6060
61- $ ( "#selected-catogory-button" ) . html ( "Edit and save operations" ) ;
61+ $ ( "#selected-catogory-button" ) . text ( "Edit and save operations" ) ;
6262}
6363
6464function OpenTileOperations ( ) {
6565 $ ( "#tile-operations-div" ) . show ( ) ;
6666 $ ( "#tile-operations-li" ) . addClass ( 'active' ) ;
67-
67+
6868 $ ( "#tile-operations-div .function-ul li.active" ) . click ( )
69- $ ( "#selected-catogory-button" ) . html ( "Tile operations" ) ;
69+ $ ( "#selected-catogory-button" ) . text ( "Tile operations" ) ;
7070}
7171
7272function OpenQnaOperations ( ) {
7373 $ ( "#qna-operations-div" ) . show ( ) ;
7474 $ ( "#qna-operations-li" ) . addClass ( 'active' ) ;
75-
75+
7676 $ ( "#qna-operations-div .function-ul li.active" ) . click ( )
77- $ ( "#selected-catogory-button" ) . html ( "QNA operations" ) ;
77+ $ ( "#selected-catogory-button" ) . text ( "QNA operations" ) ;
78+ }
79+
80+ function OpenVisualOperations ( ) {
81+ $ ( "#visual-operations-div" ) . show ( ) ;
82+ $ ( "#visual-operations-li" ) . addClass ( 'active' ) ;
83+
84+ $ ( "#visual-operations-div .function-ul li.active" ) . click ( )
85+ $ ( "#selected-catogory-button" ) . text ( "Visual operations" ) ;
7886}
7987
8088function OpenDashboardOperations ( ) {
@@ -83,9 +91,9 @@ function OpenDashboardOperations() {
8391
8492 $ ( "#dashboard-operations-li" ) . addClass ( 'active' ) ;
8593 $ ( '#dashboard-events-operations-li' ) . removeClass ( 'active' ) ;
86-
94+
8795 $ ( "#dashboard-operations-div .function-ul li.active" ) . click ( )
88- $ ( "#selected-catogory-button" ) . html ( "Dashboard operations" ) ;
96+ $ ( "#selected-catogory-button" ) . text ( "Dashboard operations" ) ;
8997}
9098
9199function OpenDashboardEventOperations ( ) {
@@ -96,7 +104,7 @@ function OpenDashboardEventOperations() {
96104 $ ( '#dashboard-events-operations-li' ) . addClass ( 'active' ) ;
97105
98106 $ ( "#dashboard-events-operations-div .function-ul li.active" ) . click ( ) ;
99- $ ( "#selected-catogory-button" ) . html ( "Events Listener" ) ;
107+ $ ( "#selected-catogory-button" ) . text ( "Events Listener" ) ;
100108}
101109
102110function SetToggleHandler ( devId ) {
0 commit comments