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

Mailing List Archive: Bricolage: commits

[8535] Tweak to r8534 :) Minimum occurence needs to be a non-zero value

 

 

Bricolage commits RSS feed   Index | Next | Previous | View Threaded


brewt at bricolage

Apr 1, 2009, 2:34 AM

Post #1 of 1 (529 views)
Permalink
[8535] Tweak to r8534 :) Minimum occurence needs to be a non-zero value

Revision: 8535
Author: brewt
Date: 2009-04-01 02:34:18 -0700 (Wed, 01 Apr 2009)
ViewCVS: http://viewsvn.bricolage.cc/?rev=8535&view=rev

Log Message:
-----------
Tweak to r8534 :) Minimum occurence needs to be a non-zero value as well.

Modified Paths:
--------------
bricolage/trunk/comp/widgets/container_prof/field.mc

Modified: bricolage/trunk/comp/widgets/container_prof/field.mc
===================================================================
--- bricolage/trunk/comp/widgets/container_prof/field.mc 2009-04-01 09:27:44 UTC (rev 8534)
+++ bricolage/trunk/comp/widgets/container_prof/field.mc 2009-04-01 09:34:18 UTC (rev 8535)
@@ -35,7 +35,7 @@
</div>
% }
% # Can't copy an element that's required and only allowed once since it won't be pastable anywhere.
-% unless ($element->is_autopopulated or ($at_obj->get_min_occurrence >= $at_obj->get_max_occurrence)) {
+% unless ($element->is_autopopulated or ($at_obj->get_min_occurrence and $at_obj->get_min_occurrence >= $at_obj->get_max_occurrence)) {
<div class="copy">
<& '/widgets/profile/button.mc',
disp => $lang->maketext("Copy"),

Bricolage commits RSS feed   Index | Next | Previous | View Threaded
 
 


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