mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
Improve the behavior of the interface.
This commit is contained in:
@@ -149,6 +149,12 @@ var sendtophone = {
|
||||
|
||||
initPopup: function()
|
||||
{
|
||||
var fileServerUrl = this.prefs.getCharPref( "fileServerUrl" );
|
||||
if (!fileServerUrl)
|
||||
{
|
||||
document.getElementById("sendtophoneContextMenuSendFiles").hidden = true;
|
||||
document.getElementById("sendtophoneContextMenuSendFolder").hidden = true;
|
||||
}
|
||||
// returning true will make the popup show
|
||||
return true;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user