Improve the behavior of the interface.

This commit is contained in:
amla70
2010-08-09 14:27:54 +00:00
parent ff8b7f1e5a
commit e4dca60d6f
13 changed files with 201 additions and 77 deletions

View File

@@ -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;
},