[tuxdroid-svn] r5259 - software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadge
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-07-31 14:47:19
|
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] = {
|