themed loading icon

This commit is contained in:
Rolux 2010-02-20 16:04:50 +05:30
parent 5bbd1aee9b
commit 977bc51beb
2 changed files with 15 additions and 1 deletions

View file

@ -143,6 +143,12 @@ Menus
color: rgb(160, 160, 160); color: rgb(160, 160, 160);
} }
/*
================================================================================
Requests
================================================================================
*/
/* /*
================================================================================ ================================================================================
Scrollbars Scrollbars

View file

@ -1153,6 +1153,14 @@ requires
) )
}); });
}); });
$(".OxLoadingIcon").each(function() {
var $this = $(this);
$this.attr({
src: $this.attr("src").replace(
"/ox.ui." + theme + "/", "/ox.ui." + arg + "/"
)
});
})
} }
} }
return theme; return theme;
@ -3256,7 +3264,7 @@ requires
}) })
.options(options || {}) .options(options || {})
.attr({ .attr({
src: oxui.path + "/png/ox.ui.classic/loading.png" src: oxui.path + "/png/ox.ui." + Ox.theme() + "/loading.png"
}) })
.addClass( .addClass(
"OxLoadingIcon Ox" + Ox.toTitleCase(self.options.size) "OxLoadingIcon Ox" + Ox.toTitleCase(self.options.size)