diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index a06600e81..b897d75ae 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -1647,13 +1647,12 @@ define([ paths = getSelectedPaths($element); - // Forms: change "Open (read-only)" to "Open (as participant)" - Messages.fc_open_formro = "Open (as participant)"; // XXX $('.cp-app-drive-context-openro .cp-text').text(Messages.fc_open_ro); if (paths.length === 1) { var metadata = manager.getFileData(manager.find(paths[0].path)); if (metadata.roHref) { var parsed = Hash.parsePadUrl(metadata.roHref); + // Forms: change "Open (read-only)" to "Open (as participant)" if (parsed.type === "form") { $('.cp-app-drive-context-openro .cp-text').text(Messages.fc_open_formro); } diff --git a/www/form/inner.js b/www/form/inner.js index c52f6923d..113ebe4af 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -906,7 +906,6 @@ define([ }, }; - Messages.form_poll_hint = ": Yes, : No, : Acceptable"; // XXX var TYPES = { input: {