changeset bffee0edee06 in sao:5.2
details: https://hg.tryton.org/sao?cmd=changeset;node=bffee0edee06
description:
        Add input-icon classes on date widget of Dict

        issue8608
        review277761002
        (grafted from 518497a4ae4325b83fb83835c39b16a2d6d7e2dd)
diffstat:

 src/view/form.js |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 5dce4c85f6b8 -r bffee0edee06 src/view/form.js
--- a/src/view/form.js  Sat Sep 07 23:27:37 2019 +0200
+++ b/src/view/form.js  Mon Sep 02 18:31:43 2019 +0200
@@ -4335,6 +4335,7 @@
         create_widget: function() {
             Sao.View.Form.Dict.Date._super.create_widget.call(this);
             this.date = this.input.parent();
+            this.date.addClass('input-icon input-icon-primary');
             Sao.common.ICONFACTORY.get_icon_img('tryton-date')
                 .appendTo(jQuery('<div/>', {
                     'class': 'datepickerbutton icon-input icon-primary',

Reply via email to