From e0757a21ca60ef8cfb952dfb4f5febcace79a889 Mon Sep 17 00:00:00 2001 From: "pollmann%netscape.com" Date: Tue, 19 Oct 1999 23:43:58 +0000 Subject: [PATCH] Bug 15729: Fall back to content when getting text value; r=vidur git-svn-id: svn://10.0.0.236/trunk@51216 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp b/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp index 59efcfba1b8..c52d824093d 100644 --- a/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp +++ b/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp @@ -642,6 +642,8 @@ void nsGfxTextControlFrame::GetTextControlFrameState(nsString& aValue) else { if (mCachedState) { aValue = *mCachedState; + } else { + nsFormControlHelper::GetInputElementValue(mContent, &aValue, PR_TRUE); } } }