[Libreoffice-commits] online.git: loleaflet/dist
Andras Timar
andras.timar at collabora.com
Mon May 23 20:40:55 UTC 2016
loleaflet/dist/toolbar/toolbar.js | 13 -------------
1 file changed, 13 deletions(-)
New commits:
commit c90bd39b2ebe2e03965e9d47afc0b6a042587cb2
Author: Andras Timar <andras.timar at collabora.com>
Date: Mon May 23 22:40:30 2016 +0200
loleaflet: remove obsoleted dialog for menu:file:saveas
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index ad13560..81aeb91 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -226,19 +226,6 @@ function onClick(id) {
map.setPart(id);
}
}
- else if (id === 'menu:file:saveas') {
- var dialog = '<label for="url">URL</label>' +
- '<input name="url" type="text" value=' + map._docLayer.options.doc + '/>' +
- '<label for="format">Format</label>' +
- '<input name="format" type="text" />' +
- '<label for="options">Options</label>' +
- '<input name="options" type="text" />';
- vex.dialog.open({
- message: 'Save as:',
- input: dialog,
- callback: onSaveAs
- });
- }
else if (id === 'takeedit') {
if (!item.checked) {
map._socket.sendMessage('takeedit');
More information about the Libreoffice-commits
mailing list