themed loading icon
This commit is contained in:
parent
5bbd1aee9b
commit
977bc51beb
2 changed files with 15 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue