mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 17:20:54 +00:00
Fix js strict warning about function not always returning a value...
This commit is contained in:
parent
e606215eb0
commit
a3e409704c
@ -285,6 +285,7 @@ function ConfirmWithTitle(title, message, okButtonText, cancelButtonText)
|
||||
okButtonText, cancelButtonText, null, null, {value:0}, result);
|
||||
return (result.value == 0);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function GetString(name)
|
||||
|
@ -223,6 +223,7 @@ var historyDNDObserver = {
|
||||
aXferData.data.addDataForFlavour("text/unicode", url);
|
||||
aXferData.data.addDataForFlavour("text/html", htmlString);
|
||||
aXferData.data.addDataForFlavour("text/x-moz-url", url + "\n" + title);
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user