themed loading icon

This commit is contained in:
Rolux 2010-02-20 16:04:50 +05:30
parent 7d06eb448b
commit 813fa0b6f3
2 changed files with 15 additions and 1 deletions

View File

@ -143,6 +143,12 @@ Menus
color: rgb(160, 160, 160);
}
/*
================================================================================
Requests
================================================================================
*/
/*
================================================================================
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;
@ -3256,7 +3264,7 @@ requires
})
.options(options || {})
.attr({
src: oxui.path + "/png/ox.ui.classic/loading.png"
src: oxui.path + "/png/ox.ui." + Ox.theme() + "/loading.png"
})
.addClass(
"OxLoadingIcon Ox" + Ox.toTitleCase(self.options.size)