From 169af6f35e499cdb8dbf1819b4bee54eb22a2f3d Mon Sep 17 00:00:00 2001 From: Connor Brewster Date: Wed, 4 May 2016 16:39:41 -0600 Subject: fix formsubmitter methods for buttons --- components/script/dom/htmlformelement.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'components/script/dom/htmlformelement.rs') diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs index 0e8b6174ab5..a1fdd34e82a 100644 --- a/components/script/dom/htmlformelement.rs +++ b/components/script/dom/htmlformelement.rs @@ -736,8 +736,8 @@ impl<'a> FormSubmitter<'a> { }, FormSubmitter::ButtonElement(button_element) => { button_element.get_form_attribute(&atom!("formenctype"), - |i| i.FormAction(), - |f| f.Action()) + |i| i.FormEnctype(), + |f| f.Enctype()) } }; match &*attr { @@ -759,8 +759,8 @@ impl<'a> FormSubmitter<'a> { }, FormSubmitter::ButtonElement(button_element) => { button_element.get_form_attribute(&atom!("formmethod"), - |i| i.FormAction(), - |f| f.Action()) + |i| i.FormMethod(), + |f| f.Method()) } }; match &*attr { @@ -780,8 +780,8 @@ impl<'a> FormSubmitter<'a> { }, FormSubmitter::ButtonElement(button_element) => { button_element.get_form_attribute(&atom!("formtarget"), - |i| i.FormAction(), - |f| f.Action()) + |i| i.FormTarget(), + |f| f.Target()) } } } -- cgit v1.2.3