зеркало из https://github.com/mozilla/pjs.git
Show ID/classes in structure toolbar and allow to select element; b=357389, r=brade (missing file, me trashes tortoiseCVS)
This commit is contained in:
Родитель
ee0b234129
Коммит
2f4243d330
|
@ -0,0 +1,20 @@
|
|||
//-----------------------------------------------------------------------------------
|
||||
var cmdDummyHTML =
|
||||
{
|
||||
isCommandEnabled: function(aCommand, dummy)
|
||||
{
|
||||
return (EditorUtils.getCurrentEditorElement() &&
|
||||
EditorUtils.isDocumentEditable() &&
|
||||
EditorUtils.isEditingRenderedHTML());
|
||||
},
|
||||
|
||||
getCommandStateParams: function(aCommand, aParams, aRefCon) {},
|
||||
doCommandParams: function(aCommand, aParams, aRefCon) {},
|
||||
|
||||
doCommand: function(aCommand)
|
||||
{
|
||||
// do nothing
|
||||
dump("Hey, who's calling the dummy command?\n");
|
||||
}
|
||||
|
||||
};
|
Загрузка…
Ссылка в новой задаче