partial for #5126 - improved custom data demo

This commit is contained in:
Jörn Zaefferer 2010-02-20 17:39:57 +00:00
parent d2903141e0
commit 012ed1a194

View File

@ -42,7 +42,7 @@
}, },
{ {
value: 'sizzlejs', value: 'sizzlejs',
label: 'Sizzle', label: 'Sizzle JS',
desc: 'a pure-JavaScript CSS selector engine', desc: 'a pure-JavaScript CSS selector engine',
icon: 'sizzlejs_32x32.png' icon: 'sizzlejs_32x32.png'
} }
@ -53,7 +53,6 @@
source: projects, source: projects,
focus: function(event, ui) { focus: function(event, ui) {
$('#project').val(ui.item.label); $('#project').val(ui.item.label);
return false; return false;
}, },
select: function(event, ui) { select: function(event, ui) {
@ -71,7 +70,7 @@
<body> <body>
<div class="demo"> <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"> <img id="project-icon" src="../images/transparent_1x1.png" class="ui-state-default">
<input id="project"> <input id="project">
<input type="hidden" id="project-id"> <input type="hidden" id="project-id">