FoxToPhone. Compatibility with Seamonkey and folder uploads in Windows. Ready for public test.

This commit is contained in:
amla70
2011-07-13 15:57:49 +00:00
parent 12a7e03703
commit a849d524df
8 changed files with 45 additions and 28 deletions

View File

@@ -236,11 +236,9 @@ var sendtophone = {
initPopup: function()
{
var fileServerUrl = this.prefs.getCharPref( "fileServerUrl" );
if (!fileServerUrl)
{
document.getElementById("sendtophoneContextMenuSendFiles").hidden = true;
document.getElementById("sendtophoneContextMenuSendFolder").hidden = true;
}
document.getElementById("sendtophoneContextMenuSendFiles").hidden = !fileServerUrl;
document.getElementById("sendtophoneContextMenuSendFolder").hidden = !fileServerUrl;
document.getElementById("sendtophoneContextMenuSendClipboard").disabled = !this.clipboardHasText();
// returning true will make the popup show