forked from 0x2620/pandora
indicate loading status in item clips view status bar
This commit is contained in:
parent
679819e100
commit
d9a240577d
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,8 @@ pandora.ui.clipsView = function(videoRatio) {
|
||||||
marginTop: '2px',
|
marginTop: '2px',
|
||||||
fontSize: '9px',
|
fontSize: '9px',
|
||||||
textAlign: 'center'
|
textAlign: 'center'
|
||||||
}),
|
})
|
||||||
|
.html('Loading...'),
|
||||||
|
|
||||||
that = Ox.SplitPanel({
|
that = Ox.SplitPanel({
|
||||||
elements: [
|
elements: [
|
||||||
|
@ -32,6 +33,7 @@ pandora.ui.clipsView = function(videoRatio) {
|
||||||
.css({float: 'right', margin: '4px'})
|
.css({float: 'right', margin: '4px'})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
submit: function(data) {
|
submit: function(data) {
|
||||||
|
$status.html('Loading...');
|
||||||
pandora.UI.set('itemFind', data.value);
|
pandora.UI.set('itemFind', data.value);
|
||||||
// since this is the only way itemFind can change,
|
// since this is the only way itemFind can change,
|
||||||
// there's no need for an event handler
|
// there's no need for an event handler
|
||||||
|
|
Loading…
Reference in a new issue