mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
partial for #5126 - improved custom data demo
This commit is contained in:
parent
d2903141e0
commit
012ed1a194
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user