File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sources/net.sf.j2s.java.core/srcjs/js Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1357,7 +1357,7 @@ if (database == "_" && J2S._serverUrl.indexOf("//your.server.here/") >= 0) {
13571357 // J2S.readyCallback, but we can call J2S.readyCallback. Go figure...
13581358 if ( isReady ) {
13591359 // when leaving page, Java applet may be dead
1360- applet . _appletPanel = ( javaAppletPanel || javaApplet ) ;
1360+ applet . _appletPanel || ( applet . _appletPanel = ( javaAppletPanel || javaApplet ) ) ;
13611361 applet . _applet = javaApplet ;
13621362 ! applet . getApp && ( applet . getApp = function ( ) { applet . _setThread ( ) ; return javaApplet } ) ;
13631363 J2S . $css ( J2S . $ ( applet , 'appletdiv' ) , { 'background-image' : '' } ) ;
@@ -2780,7 +2780,7 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
27802780 base [ base . length - 1 ] = codePath ;
27812781 codePath = base . join ( "/" ) ;
27822782 }
2783- applet . _j2sFullPath = codePath . substring ( 0 , codePath . length ) ;
2783+ applet . _j2sFullPath = codePath . substring ( 0 , codePath . length - 1 ) ;
27842784 if ( applet . __Info . code )
27852785 codePath += applet . __Info . code . replace ( / \. / g, "/" ) ;
27862786 codePath = codePath . substring ( 0 ,
You can’t perform that action at this time.
0 commit comments