Commits

Kenneth Love committed c34dca2

db change form auto-submits

Comments (0)

Files changed (2)

static/js/redbeard.js

             window.location.hash = hash;
         });
     });
+
+    $("#redis_db").live('change', function() {
+        $(this).parent('form').submit();
+    });
 });
 		<option value="{{ number }}" {% if number == session.redis_db %}selected{% endif %}>{{ number }}</option>
 		{% endfor %}
 	</select>
-	<input type="submit" value="Go">
 </form>
 
 <h2 id="keyheader">Keys</h2>