loleaflet/dist/toolbar/toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 05deed08b47f3b4b49372fd0cebacf5a8eeb6894 Author: Henry Castro <hcas...@collabora.com> Date: Tue May 23 16:35:37 2017 -0400 loleaflet: fix undo repair document popup UNDO_CONFLICT was intented to notify views, but the constant value changed with latest patch upstream Change-Id: I09062725539df3d974a47d89374d822d1d852770 diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js index 55d50353..e295c9ea 100644 --- a/loleaflet/dist/toolbar/toolbar.js +++ b/loleaflet/dist/toolbar/toolbar.js @@ -1426,7 +1426,7 @@ map.on('commandresult', function (e) { } } else if ((commandName === '.uno:Undo' || commandName === '.uno:Redo') && - e.success === true && e.result.value && e.result.value === '130') { /*UNDO_CONFLICT*/ + e.success === true && e.result.value && !isNaN(e.result.value)) { /*UNDO_CONFLICT*/ $('#tb_toolbar-up_item_repair').w2overlay({ html: '<div style="padding: 10px; line-height: 150%">' + _('Conflict Undo/Redo with multiple users. Please use document repair to resolve') + '</div>'}); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits