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="<?xml version="1.0"
encoding="UTF-8"?> <runtimeClasspathEntry
internalArchive="/gshell-gwt/src" path="3"
type="2"/> "/>
<listEntry value="<?xml version="1.0"
encoding="UTF-8"?> <runtimeClasspathEntry
containerPath="org.eclipse.jdt.launching.JRE_CONTAINER"
javaProject="gshell-gwt" path="1"
type="4"/> "/>
<listEntry value="<?xml version="1.0"
encoding="UTF-8"?> <runtimeClasspathEntry
externalArchive="/Users/chirino/opt/gwt-mac-1.5.0/gwt-dev-mac.jar"
path="3" type="2"/> "/>
<listEntry value="<?xml version="1.0"
encoding="UTF-8"?> <runtimeClasspathEntry
id="org.eclipse.jdt.launching.classpathentry.defaultClasspath"> <memento
exportedEntriesOnly="false"
project="gshell-gwt"/> </runtimeClasspathEntry> "/>
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;