changeset 22:b34a56c353de

Fixed throbber, made min length of search 2 characters.
author Atul Varma <varmaa@toolness.com>
date Wed, 10 Mar 2010 13:59:31 -0800
parents d2f8db74214f
children 5a26f23d0d60
files css/file-bug.css file-bug.html js/file-bug.js
diffstat 3 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/css/file-bug.css	Wed Mar 10 13:09:55 2010 -0800
+++ b/css/file-bug.css	Wed Mar 10 13:59:31 2010 -0800
@@ -20,3 +20,7 @@
     font-family: Helvetica Neue, Arial, sans-serif;
     font-size: 9pt;
 }
+
+.ui-autocomplete-loading {
+    background-image: url('images/ajax-loader.gif');
+}
--- a/file-bug.html	Wed Mar 10 13:09:55 2010 -0800
+++ b/file-bug.html	Wed Mar 10 13:59:31 2010 -0800
@@ -2,11 +2,11 @@
 <head>
   <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
   <link rel="stylesheet" type="text/css" media="all"
+        href="css/jquery-ui.css" />
+  <link rel="stylesheet" type="text/css" media="all"
         href="css/dashboard.css" />
   <link rel="stylesheet" type="text/css" media="all"
         href="css/file-bug.css" />
-  <link rel="stylesheet" type="text/css" media="all"
-        href="css/jquery-ui.css" />
   <title>Atul's Bug-Filer</title>
 </head>
 <body>
--- a/js/file-bug.js	Wed Mar 10 13:09:55 2010 -0800
+++ b/js/file-bug.js	Wed Mar 10 13:59:31 2010 -0800
@@ -15,6 +15,7 @@
     }
 
     var categoryOptions = {
+      minLength: 2,
       source: function(request, response) {
         function respond() {
           queuedRespond = null;