loleaflet/dist/toolbar/toolbar.js |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

New commits:
commit 560dc6c6abeea7e59c3d3b9a6fcdd44fdc9f9b8a
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Tue Apr 5 17:55:05 2016 +0200

    loleaflet: It is not necessary to inform about EDITING, that's the default.

diff --git a/loleaflet/dist/toolbar/toolbar.js 
b/loleaflet/dist/toolbar/toolbar.js
index b797be2..ce4a000 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -895,12 +895,7 @@ map.on('editlock', function (e) {
                toolbar.disable('takeedit');
                toolbar.set('takeedit', {hint: _('You are editing (others can 
only view)')});
 
-               $('#takeedit_text')
-                       .w2tag('You are editing now')
-                       .html('EDITING');
-               setTimeout(function() {
-                       $('#takeedit_text').w2tag('');
-               }, 5000);
+               $('#takeedit_text').html('EDITING');
        }
        else {
                toolbar.uncheck('takeedit');
@@ -911,7 +906,7 @@ map.on('editlock', function (e) {
                        .html('VIEWING');
                setTimeout(function() {
                        $('#takeedit_text').w2tag('');
-               }, 5000);
+               }, 3000);
        }
 });
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to