зеркало из https://github.com/mozilla/FlightDeck.git
fixes Bug 665031 - No loading indication on Library include modal when autocompleting
This commit is contained in:
Родитель
042dcf7b95
Коммит
e6c6c8f1d8
|
@ -43,12 +43,14 @@ FlightDeck.Autocomplete = new Class({
|
|||
}
|
||||
}).hide();
|
||||
|
||||
this.autocomplete.addEvent('deselect', function() {
|
||||
warning.hide();
|
||||
});
|
||||
this.autocomplete.addEvent('noItemToList', function(els) {
|
||||
warning.show();
|
||||
});
|
||||
this.autocomplete.addEvents({
|
||||
'deselect': function() {
|
||||
warning.hide();
|
||||
},
|
||||
'noItemToList': function(els) {
|
||||
warning.show();
|
||||
}
|
||||
});
|
||||
return this.autocomplete;
|
||||
},
|
||||
|
||||
|
|
|
@ -58,6 +58,9 @@ license: MIT-style license
|
|||
.ma-container .ma-even {
|
||||
}
|
||||
.ma-loading {
|
||||
background-image:url('../img/spinner-16.gif');
|
||||
background-repeat:no-repeat;
|
||||
background-position:98% center;
|
||||
}
|
||||
|
||||
.ma-selected {
|
||||
|
@ -77,4 +80,4 @@ license: MIT-style license
|
|||
.autocomplete.tip.roar p {
|
||||
border:0;
|
||||
padding:5px 9px 10px;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче