projects
/
pithos-web-client
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3c10fe
)
Added a native log() that writes to the browser 's console for debugging
author
Christos Stathis
<chstath@ebs.gr>
Thu, 2 Feb 2012 14:48:11 +0000
(16:48 +0200)
committer
Christos Stathis
<chstath@ebs.gr>
Thu, 2 Feb 2012 14:48:11 +0000
(16:48 +0200)
src/gr/grnet/pithos/web/client/Pithos.java
patch
|
blob
|
history
diff --git
a/src/gr/grnet/pithos/web/client/Pithos.java
b/src/gr/grnet/pithos/web/client/Pithos.java
index
8207940
..
50b0f48
100644
(file)
--- a/
src/gr/grnet/pithos/web/client/Pithos.java
+++ b/
src/gr/grnet/pithos/web/client/Pithos.java
@@
-1194,6
+1194,10
@@
public class Pithos implements EntryPoint, ResizeHandler {
Cookies.removeCookie(s, "/");
Window.Location.assign(config.logoutUrl());
}
+
+ public native void log1(String message)/*-{
+ $wnd.console.log(message);
+ }-*/;
public String getErrorData() {
if (error != null)