Author: maxfranz
Date: 2010-08-05 06:54:24 -0700 (Thu, 05 Aug 2010)
New Revision: 21213

Modified:
   cytoscapeweb/trunk/website/src/js/content/demo.js
Log:
don't add to the dom right away for the visual style tab

Modified: cytoscapeweb/trunk/website/src/js/content/demo.js
===================================================================
--- cytoscapeweb/trunk/website/src/js/content/demo.js   2010-08-05 00:01:07 UTC 
(rev 21212)
+++ cytoscapeweb/trunk/website/src/js/content/demo.js   2010-08-05 13:54:24 UTC 
(rev 21213)
@@ -1490,8 +1490,8 @@
     }
     
     function update_vizmapper(){
-        var parent = $("#vizmapper");
-        parent.empty();
+        var parent = $("<div></div>");
+        $("#vizmapper").empty();
 
         $("#vizmapper_header").empty();
         $("#vizmapper_header").append('<div 
id="vizmapper_tabs"><ul></ul></div>');
@@ -2446,6 +2446,8 @@
             });
         });
     
+       $("#vizmapper").html(parent);
+    
         $("#vizmapper_tabs").tabs();
         
         vizmapper_dirty = false;

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to