Hide import/export options that are not avaiable if abiword isn't configured

This commit is contained in:
Peter 'Pita' Martischka 2011-07-26 18:54:42 +01:00
parent 0d46d6f050
commit 6867d881b1
2 changed files with 21 additions and 5 deletions

View file

@ -24,6 +24,7 @@ var Changeset = require("./Changeset");
var AttributePoolFactory = require("./AttributePoolFactory");
var authorManager = require("./AuthorManager");
var readOnlyManager = require("./ReadOnlyManager");
var settings = require('./settings');
/**
* A associative array that translates a session to a pad
@ -731,6 +732,7 @@ function handleClientReady(client, message)
"fullWidth": false,
"hideSidebar": false
},
"abiwordAvailable": settings.abiword != null,
"hooks": {}
}