diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-07-10 14:32:16 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-07-20 21:24:33 +0300 |
commit | 21059397a906a6032cd6551034f06f0e9ef09ac4 (patch) | |
tree | 8360195ec1786c95dbb834b4ec498b9a766e87d9 /templates | |
parent | 4d412b35d59b0066be7852e59a681f1510ddbbac (diff) |
Initial mobile edit
* Add OCS endpoint for client to request a view
* Endpoint returns an URL
* DirectView controller to show info
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/documents.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/documents.php b/templates/documents.php index b34479e5..e063954e 100644 --- a/templates/documents.php +++ b/templates/documents.php @@ -7,6 +7,7 @@ var richdocuments_path = '<?php p($_['path']) ?>'; var instanceId = '<?php p($_['instanceId']) ?>'; var richdocuments_canonical_webroot = '<?php p($_['canonical_webroot']) ?>'; + var richdocuments_directEdit = <?php isset($_['direct']) ? p('true') : p('false') ?>; </script> <?php |