[Debtags-commits] [svn] r2008 - web/trunk/cloud

Erich Schubert erich at costa.debian.org
Thu Oct 5 15:49:12 UTC 2006


Author: erich
Date: Thu Oct  5 15:49:11 2006
New Revision: 2008

Modified:
   web/trunk/cloud/index.html
Log:
fix dojo

Modified: web/trunk/cloud/index.html
==============================================================================
--- web/trunk/cloud/index.html	(original)
+++ web/trunk/cloud/index.html	Thu Oct  5 15:49:11 2006
@@ -24,15 +24,14 @@
 
 			var selectedtags = [];
 			function update() {
-				dlg = dojo.widget.byId("LoadingDialogContent");
-				dlg.show();
+				dojo.widget.byId("LoadingDialogContent").show();
 				var bindArgs = {
 					url: "/cgi-bin/erich/" + selectedtags.join("/"),
 					error: function(type, data, evt){ alert("error"); },
 					mimetype: "text/json",
 				};
 				var req = dojo.io.bind(bindArgs);
-				dojo.event.connect(req, "load", this, "contentCallBack");
+				dojo.event.connect(req, "load", "contentCallBack");
 			}
 
 			/* sort by tag name */
@@ -190,12 +189,11 @@
 				showSelected( seltags, data.selected );
 				tagcloud.innerHTML = "";
 				makeCloud( tagcloud, tags);
-				dlg = dojo.widget.byId("LoadingDialogContent");
-				dlg.hide();
+				dojo.widget.byId("LoadingDialogContent").hide;
 			}
 
 			dojo.addOnLoad(update);
 		</script>
-		<div dojoType="dialog" id="LoadingDialogContent" bgColor="white" bgOpacity="0.5" toggle="fade" toggleDuration="250">Loading ...</div>
+		<div dojoType="dialog" id="LoadingDialogContent" bgColor="white" bgOpacity="0.5" toggle="fade" toggleDuration="250" style="font-size: xx-large; font-weight: bold">Loading ...</div>
 	</body>
 </html>



More information about the Debtags-commits mailing list