зеркало из https://github.com/mozilla/gecko-dev.git
fixing bustage -- nos such thing as NS_FORM_BUTTON_IMAGE
This commit is contained in:
Родитель
a756d81615
Коммит
843266f249
|
@ -1938,7 +1938,7 @@ nsFormFrame::GetFirstSubmitButtonAndTxtCnt(PRInt32& aInputTxtCnt)
|
||||||
nsIFormControlFrame* fcFrame = (nsIFormControlFrame*) mFormControls.ElementAt(i);
|
nsIFormControlFrame* fcFrame = (nsIFormControlFrame*) mFormControls.ElementAt(i);
|
||||||
PRInt32 type;
|
PRInt32 type;
|
||||||
fcFrame->GetType(&type);
|
fcFrame->GetType(&type);
|
||||||
if ((type == NS_FORM_INPUT_SUBMIT || type == NS_FORM_BUTTON_SUBMIT || type == NS_FORM_BUTTON_IMAGE) &&
|
if ((type == NS_FORM_INPUT_SUBMIT || type == NS_FORM_BUTTON_SUBMIT || type == NS_FORM_INPUT_IMAGE) &&
|
||||||
submitFrame == nsnull) {
|
submitFrame == nsnull) {
|
||||||
NS_ASSERTION(fcFrame->QueryInterface(NS_GET_IID(nsIFrame), (void**)&submitFrame) == NS_OK,
|
NS_ASSERTION(fcFrame->QueryInterface(NS_GET_IID(nsIFrame), (void**)&submitFrame) == NS_OK,
|
||||||
"This has to be a frame!");
|
"This has to be a frame!");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче