indicate loading status in item clips view status bar

This commit is contained in:
rolux 2012-03-21 03:12:29 +00:00
parent 679819e100
commit d9a240577d

View file

@ -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