[Libreoffice-commits] online.git: loleaflet/src

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 16 08:09:49 UTC 2019


 loleaflet/src/control/Control.JSDialogBuilder.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit c51120b994a7e8c6747caf59aa43ec81809c3cda
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Oct 16 10:09:19 2019 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Oct 16 10:09:19 2019 +0200

    jsdialogs: add id to the spinfield container
    
    Change-Id: I5d86dec1bb2c86e23dbe97c82107143c22a03eff

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 6715d7d4a..311d0c64d 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -357,6 +357,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
 
 	_spinfieldControl: function(parentContainer, data, builder) {
 		var div = L.DomUtil.create('div', 'spinfieldcontainer', parentContainer);
+		div.id = data.id;
 
 		var image = L.DomUtil.create('img', 'spinfieldimage', div);
 		var icon = builder._createIconPath(data.id);


More information about the Libreoffice-commits mailing list