[tryton-debian-vcs] tryton-sao branch debian updated. debian/4.0.4-1-1-g60d5efa

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Sep 28 15:52:39 UTC 2016


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-sao.git;a=commitdiff;h=debian/4.0.4-1-1-g60d5efa

commit 60d5efad06a4059fb4fe6e1dadeb4818f7b999a7
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Sep 28 17:52:25 2016 +0200

    Adding 01-datetimepicker-compat.patch.

diff --git a/debian/patches/01-datetimepicker-compat.patch b/debian/patches/01-datetimepicker-compat.patch
new file mode 100644
index 0000000..0d6e045
--- /dev/null
+++ b/debian/patches/01-datetimepicker-compat.patch
@@ -0,0 +1,20 @@
+Description: Provide compatibility with the current datetimepicker version in Debian.
+ Since 4.17.37 datetimepicker requires a class to be set on the button
+ to open the widgets, so we should set this class in order to make the
+ datetimepicker work with latest versions.
+Origin: upstream, http://hg.tryton.org/sao/rev/07b6b0d53296
+Bug: http://bugs.tryton.org/issue5860
+Forwarded: not-needed
+Last-Update: 2016-09-28
+
+--- tryton-sao-4.0.4.orig/src/view/form.js
++++ tryton-sao-4.0.4/src/view/form.js
+@@ -1051,7 +1051,7 @@
+             jQuery('<span/>', {
+                 'class': 'input-group-btn'
+             }).append(jQuery('<button/>', {
+-                'class': 'btn btn-default',
++                'class': 'datepickerbutton btn btn-default',
+                 'type': 'button'
+             }).append(jQuery('<span/>', {
+                 'class': 'glyphicon glyphicon-calendar'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..372d804
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-datetimepicker-compat.patch
-- 
tryton-sao



More information about the tryton-debian-vcs mailing list