[debian-edu-commits] debian-edu/pkg-team/ 01/01: debian/patches: Add 1021_fix-DHCP-sections-list.patch. Don't make DHCP sections list sortable.
Mike Gabriel
sunweaver at debian.org
Thu Dec 10 14:08:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository gosa.
commit e53946e7083e06c6769febf8f3b612749606cdf9
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Thu Dec 10 15:05:49 2015 +0100
debian/patches: Add 1021_fix-DHCP-sections-list.patch. Don't make DHCP sections list sortable.
Set the "reorderable" flag of the DHCP sections list to TRUE.
Intuitively, this feels weird, because setting the reorderable
flag of a sortableList object to TRUE results in a non-reorderable
list.
---
debian/patches/1021_fix-DHCP-sections-list.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 20 insertions(+)
diff --git a/debian/patches/1021_fix-DHCP-sections-list.patch b/debian/patches/1021_fix-DHCP-sections-list.patch
new file mode 100644
index 0000000..40b944a
--- /dev/null
+++ b/debian/patches/1021_fix-DHCP-sections-list.patch
@@ -0,0 +1,19 @@
+Description: Don't make DHCP sections list sortable
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+Abstract:
+ Set the "reorderable" flag of the DHCP sections list to TRUE.
+ .
+ Intuitively, this feels weird, because setting the reorderable
+ flags of a sortableList object to TRUE results in a non-reorderable
+ list.
+
+--- a/dhcp/admin/systems/services/dhcp/class_servDHCP.inc
++++ b/dhcp/admin/systems/services/dhcp/class_servDHCP.inc
+@@ -377,6 +377,7 @@
+ }
+ }
+ $this->entryList->setListData($this->dhcpSections, $lData);
++ $this->entryList->setReorderable(TRUE);
+ $this->entryList->update();
+
+ /* Display tempalte */
diff --git a/debian/patches/series b/debian/patches/series
index 896864b..345d9d8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -23,6 +23,7 @@
1018_no-item-multiplication-on-duplicate-search-results.patch
1019_fix-various-typos.patch
1020_ob-fixes.patch
+1021_fix-reordering-in-sortable-listings.patch
2001_fix-smarty-location.patch
2002_fix-template-location.patch
2003_fix-class-mapping.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git
More information about the debian-edu-commits
mailing list