зеркало из https://github.com/mozilla/pjs.git
Removed unneded setting of index to kNothingSelected when an disabled option is selected
r=blake, sr=buster Bug 57580
This commit is contained in:
Родитель
2307cf1496
Коммит
9b0fb27e9a
|
@ -2895,7 +2895,6 @@ nsListControlFrame::MouseUp(nsIDOMEvent* aMouseEvent)
|
|||
mButtonDown = PR_FALSE;
|
||||
CaptureMouseEvents(mPresContext, PR_FALSE);
|
||||
SetContentSelected(mSelectedIndex, PR_FALSE);
|
||||
mSelectedIndex = kNothingSelected;
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2895,7 +2895,6 @@ nsListControlFrame::MouseUp(nsIDOMEvent* aMouseEvent)
|
|||
mButtonDown = PR_FALSE;
|
||||
CaptureMouseEvents(mPresContext, PR_FALSE);
|
||||
SetContentSelected(mSelectedIndex, PR_FALSE);
|
||||
mSelectedIndex = kNothingSelected;
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче