[google-web-toolkit commit] r3921 - branches/1_6_events/user/src/com/google/gwt/user/client/ui/impl

0 views
Skip to first unread message

codesite...@google.com

unread,
Oct 31, 2008, 1:05:59 PM10/31/08
to gwt...@gmail.com
Author: e...@google.com
Date: Fri Oct 31 10:04:59 2008
New Revision: 3921

Modified:

branches/1_6_events/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplIE6.java

branches/1_6_events/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplSafari.java

Log:
Switching jsni method dispatch to be correct.

Modified:
branches/1_6_events/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplIE6.java
==============================================================================
---
branches/1_6_events/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplIE6.java
(original)
+++
branches/1_6_events/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplIE6.java
Fri Oct 31 10:04:59 2008
@@ -76,7 +76,7 @@
// Weird: this code has the context of the script frame, but we
need the
// event from the edit iframe's window.
var evt = elem.contentWindow.event;
-
elem.__listener.@com.google.gwt.user.client.ui.RichTextArea::onBrowserEvent(Lcom/google/gwt/user/client/Event;)(evt);
+
elem.__listener.@com.google.gwt.user.client.ui.Widget::onBrowserEvent(Lcom/google/gwt/user/client/Event;)(evt);
}
};


Modified:
branches/1_6_events/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplSafari.java
==============================================================================
---
branches/1_6_events/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplSafari.java
(original)
+++
branches/1_6_events/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplSafari.java
Fri Oct 31 10:04:59 2008
@@ -187,13 +187,13 @@
// there interferes with focus.
elem.onfocus = function(evt) {
if (elem.__listener) {
-
elem.__listener.@com.google.gwt.user.client.ui.RichTextArea::onBrowserEvent(Lcom/google/gwt/user/client/Event;)(evt);
+
elem.__listener.@com.google.gwt.user.client.ui.Widget::onBrowserEvent(Lcom/google/gwt/user/client/Event;)(evt);
}
};

elem.onblur = function(evt) {
if (elem.__listener) {
-
elem.__listener.@com.google.gwt.user.client.ui.RichTextArea::onBrowserEvent(Lcom/google/gwt/user/client/Event;)(evt);
+
elem.__listener.@com.google.gwt.user.client.ui.Widget::onBrowserEvent(Lcom/google/gwt/user/client/Event;)(evt);
}
};
}-*/;

Reply all
Reply to author
Forward
0 new messages