mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
FoxToPhone. Compatibility with Seamonkey and folder uploads in Windows. Ready for public test.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user