From c651170d290fe008c080f5e2e17cb4db4c6b67ca Mon Sep 17 00:00:00 2001 From: "enndeakin%sympatico.ca" Date: Sun, 15 Jan 2006 22:24:14 +0000 Subject: [PATCH] Bug 308591, Button.dlgType sets an attribute with the wrong case, r=neil git-svn-id: svn://10.0.0.236/trunk@187666 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/content/widgets/button.xml | 6 +++--- mozilla/xpfe/global/resources/content/bindings/button.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mozilla/toolkit/content/widgets/button.xml b/mozilla/toolkit/content/widgets/button.xml index 05128bc53f9..20a020a6b64 100644 --- a/mozilla/toolkit/content/widgets/button.xml +++ b/mozilla/toolkit/content/widgets/button.xml @@ -21,8 +21,8 @@ onset="this.setAttribute('type', val); return val;"/> + onget="return this.getAttribute('dlgtype');" + onset="this.setAttribute('dlgtype', val); return val;"/> - \ No newline at end of file + diff --git a/mozilla/xpfe/global/resources/content/bindings/button.xml b/mozilla/xpfe/global/resources/content/bindings/button.xml index 8546a8d8564..0c8b42d581b 100644 --- a/mozilla/xpfe/global/resources/content/bindings/button.xml +++ b/mozilla/xpfe/global/resources/content/bindings/button.xml @@ -21,8 +21,8 @@ onset="this.setAttribute('type', val); return val;"/> + onget="return this.getAttribute('dlgtype');" + onset="this.setAttribute('dlgtype', val); return val;"/>