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;"/>