fix similarClipsDialog status text
This commit is contained in:
parent
fc32ff503f
commit
db201a8933
1 changed files with 2 additions and 3 deletions
|
@ -278,8 +278,7 @@ pandora.ui.similarClipsDialog = function() {
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
init: function(data) {
|
init: function(data) {
|
||||||
$status.html(
|
$status.html(
|
||||||
Ox.formatNumber(data.items) + ' Clip'
|
Ox.toTitleCase(Ox.formatCount(data.items, 'clip'))
|
||||||
+ (data.items == 1 ? '' : 's')
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
open: changeClip,
|
open: changeClip,
|
||||||
|
@ -291,7 +290,7 @@ pandora.ui.similarClipsDialog = function() {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
$list = Ox.Element();
|
$list = Ox.Element();
|
||||||
$status.html('0 Clips');
|
$status.html('No Clips');
|
||||||
}
|
}
|
||||||
$innerPanel.replaceElement(1, $list);
|
$innerPanel.replaceElement(1, $list);
|
||||||
$image.attr({src: getImageURL(sequence.hash)});
|
$image.attr({src: getImageURL(sequence.hash)});
|
||||||
|
|
Loading…
Reference in a new issue