@@ -77,13 +77,13 @@ var WLSPHIP0 = {
77
77
// you can set them here to override the default style.
78
78
// (Blocked out for test purposes)
79
79
// ----------------------------------------------------------------------------------------------------------
80
- // cssSet: {
81
- // cssCdHIPMenu: "csshMenu1",
82
- // cssCdHIPInput: "csshInput1",
83
- // cssCdHIPLink: "csshLink1",
84
- // cssCdHIPError: "csshError1",
85
- // cssCdHIPErrorImg: "csshErrorImg1"
86
- // },
80
+ // cssSet: {
81
+ // cssCdHIPMenu: "csshMenu1",
82
+ // cssCdHIPInput: "csshInput1",
83
+ // cssCdHIPLink: "csshLink1",
84
+ // cssCdHIPError: "csshError1",
85
+ // cssCdHIPErrorImg: "csshErrorImg1"
86
+ // },
87
87
88
88
getSolution : function ( ) { } ,
89
89
reloadHIP : function ( ) { } ,
@@ -122,10 +122,6 @@ var verifyOnClient = function (solution, token, param) {
122
122
}
123
123
else {
124
124
fillHipData ( solution , token ) ;
125
-
126
- //document.getElementById('Solution').value = solution;
127
- //document.getElementById('Token').value = token;
128
- //document.getElementById('Type').value = WLSPHIP0.type;
129
125
return ;
130
126
}
131
127
}
@@ -157,8 +153,6 @@ function refreshOutsideMenu(menu) {
157
153
//set if needed
158
154
var itemLength = menu . length ;
159
155
if ( ! WLSPHIP0 . showMenu ) {
160
- //var menu = WLSPHIP0.getMenu();
161
-
162
156
for ( var j = 0 ; j < itemLength ; j ++ ) {
163
157
( function ( j ) {
164
158
@@ -169,7 +163,6 @@ function refreshOutsideMenu(menu) {
169
163
ele . onclick = function ( ) { trigger ( ) ; return false } ;
170
164
171
165
} ) ( j ) ;
172
-
173
166
}
174
167
}
175
168
@@ -186,11 +179,14 @@ function instructionCallback(instruction) //add instruction as parameter, and re
186
179
document . getElementById ( 'idInstruction' ) . innerHTML = '' ;
187
180
}
188
181
else {
189
- //var instruction = WLSPHIP0.getInstruction();
190
182
document . getElementById ( 'idInstruction' ) . innerHTML = instruction ;
191
183
}
192
184
}
193
185
194
- if ( ! $ . ajax ) {
195
- $ . ajax = ( ) => { } ;
186
+ if ( window . $ == undefined ) {
187
+ window . $ = { } ;
188
+ }
189
+
190
+ if ( ! window . $ . ajax ) {
191
+ window . $ . ajax = ( ) => { } ;
196
192
}
0 commit comments