Author: remi
Date: 2009-07-31 16:47:05 +0200 (Fri, 31 Jul 2009)
New Revision: 5259

Modified:
   
software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetGenerator.py
Log:
* Default locutor on ugc creation is always the current menu one

Modified: 
software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetGenerator.py
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetGenerator.py
    2009-07-31 14:43:44 UTC (rev 5258)
+++ 
software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetGenerator.py
    2009-07-31 14:47:05 UTC (rev 5259)
@@ -596,8 +596,7 @@
             if parameter.isVisible():
                 defaultValue = parameter.getDefaultValue(language)
                 if parameter.getName() == "locutor":
-                    if defaultValue == "":
-                        defaultValue = ugcContainer.getLocutor().replace("8k", 
"")
+                    defaultValue = ugcContainer.getLocutor().replace("8k", "")
                 nodeName = "param_%2d" % i
                 i += 1
                 ugcDataDict['parameters'][nodeName] = {


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to