Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: cvs
[interchange] Add tree-master attribute to [menu] tag.
 

Index | Next | Previous | View Flat


interchange-cvs at icdevgroup

May 29, 2012, 2:47 AM


Views: 367
Permalink
[interchange] Add tree-master attribute to [menu] tag.

commit ab6283630b0e028ecc80e326e3132a73d40b5124
Author: Stefan Hornburg (Racke) <racke [at] linuxia>
Date: Tue May 29 11:41:42 2012 +0200

Add tree-master attribute to [menu] tag.

lib/Vend/Menu.pm | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/lib/Vend/Menu.pm b/lib/Vend/Menu.pm
index 5e32574..4e15b28 100644
--- a/lib/Vend/Menu.pm
+++ b/lib/Vend/Menu.pm
@@ -418,7 +418,7 @@ EOF
my %defaults = (
start => $opt->{tree_selector} || 'Products',
table => $::Variable->{MV_TREE_TABLE} || 'tree',
- master => 'parent_fld',
+ master => $opt->{tree_master} || 'parent_fld',
subordinate => 'code',
autodetect => '1',
sort => 'code',
@@ -551,7 +551,7 @@ EOF
start => $opt->{tree_selector} || $opt->{name},
file => $opt->{file},
table => $opt->{table} || $::Variable->{MV_TREE_TABLE} || 'tree',
- master => 'parent_fld',
+ master => $opt->{tree_master} || 'parent_fld',
subordinate => 'code',
autodetect => '1',
no_open => 1,
@@ -946,7 +946,7 @@ EOF
my %o = (
start => $opt->{tree_selector} || 'Products',
table => $opt->{table} || $::Variable->{MV_TREE_TABLE} || 'tree',
- master => 'parent_fld',
+ master => $opt->{tree_master} || 'parent_fld',
file => $opt->{file},
subordinate => 'code',
autodetect => '1',
@@ -1466,7 +1466,7 @@ EOF
my %o = (
start => $opt->{tree_selector} || 'Products',
table => $opt->{table} || $::Variable->{MV_TREE_TABLE} || 'tree',
- master => 'parent_fld',
+ master => $opt->{tree_master} || 'parent_fld',
file => $opt->{file},
subordinate => 'code',
autodetect => '1',

_______________________________________________
interchange-cvs mailing list
interchange-cvs [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs

Subject User Time
[interchange] Add tree-master attribute to [menu] tag. interchange-cvs at icdevgroup May 29, 2012, 2:47 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.