ajax-loader for dashboard

This commit is contained in:
Dmitriy Zaporozhets 2011-12-13 00:08:15 +02:00
parent 8426846d6d
commit 3dc94ba8eb
4 changed files with 27 additions and 2 deletions

View file

@ -0,0 +1,11 @@
var Loader = {
img_src: "/assets/ajax-loader.gif",
html:
function(width) {
img = $("<img>");
img.attr("width", width);
img.attr("src", this.img_src);
return img;
}
}