aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-16 06:24:01 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-16 06:24:01 +0800
commit9f534be424c1285f83e53cf00c39726d68a6cb04 (patch)
tree02482c172b59f11f57c00471fbf3af416eb9a619
parent0d70e6e6a59004c95306985c97ab5df8d0160d78 (diff)
downloadgsoc2013-epiphany-9f534be424c1285f83e53cf00c39726d68a6cb04.tar
gsoc2013-epiphany-9f534be424c1285f83e53cf00c39726d68a6cb04.tar.gz
gsoc2013-epiphany-9f534be424c1285f83e53cf00c39726d68a6cb04.tar.bz2
gsoc2013-epiphany-9f534be424c1285f83e53cf00c39726d68a6cb04.tar.lz
gsoc2013-epiphany-9f534be424c1285f83e53cf00c39726d68a6cb04.tar.xz
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--ChangeLog7
-rw-r--r--embed/mozilla/EventContext.cpp4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2bf3fb957..6844de07e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;