You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2008/06/13 18:19:38 UTC

svn commit: r667584 - in /servicemix/sandbox/gshell-web/gshell-gwt: WebConsole.launch src/org/apache/servicemix/gshellweb/client/WebConsole.java

Author: chirino
Date: Fri Jun 13 09:19:38 2008
New Revision: 667584

URL: http://svn.apache.org/viewvc?rev=667584&view=rev
Log:
Applied patches on SMX4-28.. thanks Jay.

Modified:
    servicemix/sandbox/gshell-web/gshell-gwt/WebConsole.launch
    servicemix/sandbox/gshell-web/gshell-gwt/src/org/apache/servicemix/gshellweb/client/WebConsole.java

Modified: servicemix/sandbox/gshell-web/gshell-gwt/WebConsole.launch
URL: http://svn.apache.org/viewvc/servicemix/sandbox/gshell-web/gshell-gwt/WebConsole.launch?rev=667584&r1=667583&r2=667584&view=diff
==============================================================================
--- servicemix/sandbox/gshell-web/gshell-gwt/WebConsole.launch (original)
+++ servicemix/sandbox/gshell-web/gshell-gwt/WebConsole.launch Fri Jun 13 09:19:38 2008
@@ -8,6 +8,7 @@
 </listAttribute>
 <booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
 <listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/gshell-gwt/src&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
 <listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;gshell-gwt&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
 <listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;/Users/chirino/opt/gwt-mac-1.5.0/gwt-dev-mac.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
 <listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;gshell-gwt&quot;/&gt;&#10;&lt;/runtimeClasspathEntry&gt;&#10;"/>

Modified: servicemix/sandbox/gshell-web/gshell-gwt/src/org/apache/servicemix/gshellweb/client/WebConsole.java
URL: http://svn.apache.org/viewvc/servicemix/sandbox/gshell-web/gshell-gwt/src/org/apache/servicemix/gshellweb/client/WebConsole.java?rev=667584&r1=667583&r2=667584&view=diff
==============================================================================
--- servicemix/sandbox/gshell-web/gshell-gwt/src/org/apache/servicemix/gshellweb/client/WebConsole.java (original)
+++ servicemix/sandbox/gshell-web/gshell-gwt/src/org/apache/servicemix/gshellweb/client/WebConsole.java Fri Jun 13 09:19:38 2008
@@ -32,7 +32,7 @@
     public static native void installKeyHook() /*-{
         function keyHandler(e)
         {
-            var keyCode = e.which || e.keyCode || -1;
+            var keyCode = $wnd.document.all ? $wnd.event.keyCode : e.which;
             if( keyCode == 126 ) {
                 @org.apache.servicemix.gshellweb.client.WebConsole::toggleConsole()();
                 return false;