[drraw-users] [PATCH] Stack checkbox for Regex DS is missing
Francois Deppierraz
francois at ctrlaltdel.ch
Wed Apr 30 10:54:09 MDT 2008
This patch fixes a bug in drraw-2.2a4 where Stack checkbox was not
displayed for regular expression based DS.
--- drraw.cgi.orig 2008-04-25 11:15:51.000000000 +0200
+++ drraw.cgi 2008-04-25 11:25:07.000000000 +0200
@@ -3159,7 +3159,7 @@
-default=>param("${ds}_Type"),
-onchange=>"TypeCB(this.value, \"${ds}\")"),
( $RRDs::VERSION >= 1.2
- && ( $type eq 'ds' || $type eq 'def' ) ) ?
+ && ( $type eq 'ds' || $type eq 'def' || $type eq 'tmpl' ) ) ?
checkbox(-id=>"${ds}_STACK", -name=>"${ds}_STACK",
-title=>'Whether to stack this element on top of the previous one',
-label=>'', -value=>'Y') : '',
More information about the drraw-users
mailing list