Skip to content

Commit

Permalink
partial for #5126 - improved custom data demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Feb 20, 2010
1 parent d290314 commit 012ed1a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions demos/autocomplete/custom-data.html
Expand Up @@ -42,7 +42,7 @@
},
{
value: 'sizzlejs',
label: 'Sizzle',
label: 'Sizzle JS',
desc: 'a pure-JavaScript CSS selector engine',
icon: 'sizzlejs_32x32.png'
}
Expand All @@ -53,7 +53,6 @@
source: projects,
focus: function(event, ui) {
$('#project').val(ui.item.label);

return false;
},
select: function(event, ui) {
Expand All @@ -71,7 +70,7 @@
<body>

<div class="demo">
<label for="tags" id="project-label">Select a project:</label>
<label for="tags" id="project-label">Select a project (type "j" for a start):</label>
<img id="project-icon" src="../images/transparent_1x1.png" class="ui-state-default">
<input id="project">
<input type="hidden" id="project-id">
Expand Down

0 comments on commit 012ed1a

Please sign in to comment.