Bug 523780, cannot drag first search engine, r=rflint

This commit is contained in:
Neil Deakin 2009-12-15 11:07:45 -05:00
parent 27de225329
commit 615f463e9e

View File

@ -226,7 +226,7 @@ var gEngineManagerDialog = {
function onDragEngineStart(event) {
var selectedIndex = gEngineView.selectedIndex;
if (selectedIndex > 0) {
if (selectedIndex >= 0) {
event.dataTransfer.setData(ENGINE_FLAVOR, selectedIndex.toString());
event.dataTransfer.effectAllowed = "move";
}