Skip to content

Commit fe71d5d

Browse files
committed
Autocomplete: Removed styling for .ui-autocomplete-loading from the theme - added to individual demos. Fixes #5385 - Autocomplete: Inconsistent default styling while loading results.
We will need to undo this change when ThemeRoller supports generating loading images.
1 parent 612838a commit fe71d5d

File tree

6 files changed

+15
-1
lines changed

6 files changed

+15
-1
lines changed

demos/autocomplete/multiple-remote.html

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
1111
<script type="text/javascript" src="../../ui/jquery.ui.autocomplete.js"></script>
1212
<link type="text/css" href="../demos.css" rel="stylesheet" />
13+
<style type="text/css">
14+
.ui-autocomplete-loading { background: white url('../../themes/base/images/ui-anim_basic_16x16.gif') right center no-repeat; }
15+
</style>
1316
<script type="text/javascript">
1417
$(function() {
1518
function split(val) {

demos/autocomplete/remote-jsonp.html

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
1111
<script type="text/javascript" src="../../ui/jquery.ui.autocomplete.js"></script>
1212
<link type="text/css" href="../demos.css" rel="stylesheet" />
13+
<style type="text/css">
14+
.ui-autocomplete-loading { background: white url('../../themes/base/images/ui-anim_basic_16x16.gif') right center no-repeat; }
15+
</style>
1316
<script type="text/javascript">
1417
$(function() {
1518
function log(message) {

demos/autocomplete/remote-with-cache.html

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
1111
<script type="text/javascript" src="../../ui/jquery.ui.autocomplete.js"></script>
1212
<link type="text/css" href="../demos.css" rel="stylesheet" />
13+
<style type="text/css">
14+
.ui-autocomplete-loading { background: white url('../../themes/base/images/ui-anim_basic_16x16.gif') right center no-repeat; }
15+
</style>
1316
<script type="text/javascript">
1417
$(function() {
1518
var cache = {};

demos/autocomplete/remote.html

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
1111
<script type="text/javascript" src="../../ui/jquery.ui.autocomplete.js"></script>
1212
<link type="text/css" href="../demos.css" rel="stylesheet" />
13+
<style type="text/css">
14+
.ui-autocomplete-loading { background: white url('../../themes/base/images/ui-anim_basic_16x16.gif') right center no-repeat; }
15+
</style>
1316
<script type="text/javascript">
1417
$(function() {
1518
function log(message) {

demos/autocomplete/xml.html

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
1111
<script type="text/javascript" src="../../ui/jquery.ui.autocomplete.js"></script>
1212
<link type="text/css" href="../demos.css" rel="stylesheet" />
13+
<style type="text/css">
14+
.ui-autocomplete-loading { background: white url('../../themes/base/images/ui-anim_basic_16x16.gif') right center no-repeat; }
15+
</style>
1316
<script type="text/javascript">
1417
$(function() {
1518
function log(message) {

themes/base/jquery.ui.autocomplete.css

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* http://docs.jquery.com/UI/Autocomplete#theming
99
*/
1010
.ui-autocomplete { position: absolute; cursor: default; }
11-
.ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; }
1211

1312
/* workarounds */
1413
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

0 commit comments

Comments
 (0)