}
};
+ this._searchInput.parents('.searchBar').addClass('loading');
this._proxy.setOption('data', {
actionName: 'getSearchResultList',
className: this._className,
*/
_success: function(data, textStatus, jqXHR) {
this._clearList(false);
+ this._searchInput.parents('.searchBar').removeClass('loading');
if ($.getLength(data.returnValues)) {
for (var $i in data.returnValues) {
position: absolute;
top: 12px;
}
+ &.loading:before {
+ content: "\f110";
+
+ -moz-animation: spin 2s infinite linear;
+ -o-animation: spin 2s infinite linear;
+ -webkit-animation: spin 2s infinite linear;
+ animation: spin 2s infinite linear;
+ }
> form {
display: inline-block;