Author: remi
Date: 2009-07-22 11:19:25 +0200 (Wed, 22 Jul 2009)
New Revision: 5129

Modified:
   
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadgets.xsl
Log:
* Redirect to "All gadgets filter" in the "gadgets" page after gadget 
duplication.

Modified: 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadgets.xsl
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadgets.xsl
  2009-07-22 08:59:18 UTC (rev 5128)
+++ 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadgets.xsl
  2009-07-22 09:19:25 UTC (rev 5129)
@@ -478,12 +478,19 @@
 
             function applyUgc()
             {
-                newGadgetOnEdit = false;
                 if (window.frames.windowGadgetConfigurationContentIFrame && 
window.frames.windowGadgetConfigurationContentIFrame.applyGadgetConfiguration)
                 {
                     
window.frames.windowGadgetConfigurationContentIFrame.applyGadgetConfiguration();
                 }
-                fillGadgetRows(knowedGadgetsFilter);
+                if (newGadgetOnEdit)
+                {
+                    newGadgetOnEdit = false;
+                    fillGadgetRows('all_gadgets');
+                }
+                else
+                {
+                    fillGadgetRows(knowedGadgetsFilter);
+                }
             }
 
             function abortApplyUgc()


------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to