Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
This commit is contained in:
@@ -43,13 +43,12 @@
|
||||
#include "nsIDOMDocument.h"
|
||||
#include "nsIDOMNodeList.h"
|
||||
#include "nsIDOMXULButtonElement.h"
|
||||
#include "nsHTMLAtoms.h"
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsINameSpaceManager.h"
|
||||
#include "nsPresContext.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsGUIEvent.h"
|
||||
#include "nsIEventStateManager.h"
|
||||
#include "nsXULAtoms.h"
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsDisplayList.h"
|
||||
|
||||
@@ -147,8 +146,8 @@ void
|
||||
nsButtonBoxFrame::DoMouseClick(nsGUIEvent* aEvent, PRBool aTrustEvent)
|
||||
{
|
||||
// Don't execute if we're disabled.
|
||||
if (mContent->AttrValueIs(kNameSpaceID_None, nsHTMLAtoms::disabled,
|
||||
nsHTMLAtoms::_true, eCaseMatters))
|
||||
if (mContent->AttrValueIs(kNameSpaceID_None, nsGkAtoms::disabled,
|
||||
nsGkAtoms::_true, eCaseMatters))
|
||||
return;
|
||||
|
||||
// Execute the oncommand event handler.
|
||||
|
||||
Reference in New Issue
Block a user