Port autocomplete from tagInput to jQuery UI, send Last-Modified header and look for it in JS.

This commit is contained in:
Shashi Gowda
2011-04-08 13:55:01 +05:30
parent e5495e7df8
commit c44a94e8f5
8 changed files with 141 additions and 602 deletions

View File

@@ -1915,31 +1915,29 @@ min-width:0;
/* tag autocomplete */
.tagInputDiv {
display: none;
position: absolute;
overflow: auto;
margin-top:-1px;
z-index: 99;
}
.tagInputLine {
.ptag-ac-line {
font-weight: normal;
padding:4px;
background-color: white;
}
.ptag-ac-line:nth-child(odd) {
background-color: #f1f1f1;
}
.tagInputLineTag {
.ptag-ac-line-tag {
min-width: 150px;
display: inline-block;
}
.tagInputLineFreq {
.ptag-ac-line .freq {
min-width: 50px;
text-align: right;
display: inline-block;
float:right;
}
.ptag-ac-line.mode-public .privacy_mode {
display:none;
}
.inline-attachment img {
/* Why on earth is this changed to block at the top? */
display: inline;

View File

@@ -2173,46 +2173,30 @@ background-position: 0px -1978px;
/* tag autocomplete */
.tagInputDiv {
display: none;
position: absolute;
background-color:#f1f1f1;
overflow: auto;
margin-top:-1px;
z-index: 99;
}
.tagInputLine {
.ptag-ac-line {
font-weight: normal;
padding:4px;
background-color: white;
min-height:30px;
}
.ptag-ac-line:nth-child(odd) {
background-color: #fafafa;
}
.tagInputLineTag {
.ptag-ac-line-tag {
min-width: 150px;
display: inline-block;
}
.tagInputLineFreq {
.ptag-ac-line .freq {
min-width: 50px;
text-align: right;
display: inline-block;
float:right;
}
.tagInputDiv {
background-color: white;
border: 1px solid lightgray;
}
.tagInputDiv .mode-public .privacy_mode {
.ptag-ac-line.mode-public .privacy_mode {
display:none;
}
.tagInputSel {
background-color: gray;
color:white;
}
/*end of @media screen, projection, tv*/