diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-08-16 06:24:01 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-08-16 06:24:01 +0800 |
commit | 9f534be424c1285f83e53cf00c39726d68a6cb04 (patch) | |
tree | 02482c172b59f11f57c00471fbf3af416eb9a619 | |
parent | 0d70e6e6a59004c95306985c97ab5df8d0160d78 (diff) | |
download | gsoc2013-epiphany-9f534be424c1285f83e53cf00c39726d68a6cb04.tar.gz gsoc2013-epiphany-9f534be424c1285f83e53cf00c39726d68a6cb04.tar.zst gsoc2013-epiphany-9f534be424c1285f83e53cf00c39726d68a6cb04.zip |
Use GetLocalName instead of GetTagName to get the attribute name. Patch by
2004-08-16 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EventContext.cpp:
Use GetLocalName instead of GetTagName to get the attribute name.
Patch by Mikael Brockman, fixes bug #150208.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/EventContext.cpp | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2004-08-16 Christian Persch <chpe@cvs.gnome.org> + + * embed/mozilla/EventContext.cpp: + + Use GetLocalName instead of GetTagName to get the attribute name. + Patch by Mikael Brockman, fixes bug #150208. + 2004-08-12 Christian Persch <chpe@cvs.gnome.org> * configure.in: diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp index 5f5f7e99d..1f7d27bd4 100644 --- a/embed/mozilla/EventContext.cpp +++ b/embed/mozilla/EventContext.cpp @@ -250,7 +250,7 @@ nsresult EventContext::GetEventContext (nsIDOMEventTarget *EventTarget, if ((nsIDOMNode::ELEMENT_NODE == type) && element) { nsEmbedString uTag; - rv = element->GetTagName(uTag); + rv = element->GetLocalName(uTag); if (NS_FAILED(rv)) return NS_ERROR_FAILURE; nsEmbedCString tag; @@ -379,7 +379,7 @@ nsresult EventContext::GetEventContext (nsIDOMEventTarget *EventTarget, if ((nsIDOMNode::ELEMENT_NODE == type) && element) { nsEmbedString uTag; - rv = element->GetTagName(uTag); + rv = element->GetLocalName(uTag); if (NS_FAILED(rv)) return NS_ERROR_FAILURE; nsEmbedCString tag; |