web/data/cubicweb.facets.js
changeset 7300 4058ed1e3bc2
parent 7282 f2dbac46031e
child 7604 1eb6090311ff
--- a/web/data/cubicweb.facets.js	Tue May 03 11:03:27 2011 +0200
+++ b/web/data/cubicweb.facets.js	Tue May 03 13:57:18 2011 +0200
@@ -282,7 +282,9 @@
 
 jQuery(document).ready(function () {
     if (jQuery('div.facetBody').length) {
-    document.body.appendChild(DIV({id:'facetLoading'},
-        IMG({src: baseuri() + 'data/facet-loading.png'})));
+        var $loadingDiv = $(DIV({id:'facetLoading'},
+                                facetLoadingMsg));
+        $loadingDiv.corner();
+        $('body').append($loadingDiv);
     }
 });