editable tags by default, and hide .edit by default
This commit is contained in:
parent
c627e564c4
commit
a93247327a
3 changed files with 5 additions and 7 deletions
|
@ -25,8 +25,8 @@ class TagEditTheme extends Themelet {
|
|||
<tr>
|
||||
<td width='50px'>Tags</td>
|
||||
<td width='300px'>
|
||||
<span class='view'>$h_tags</span>
|
||||
<input class='edit' type='text' name='tag_edit__tags' value='$h_tags' class='autocomplete_tags' id='tag_editor'>
|
||||
<!--<span class='view'>$h_tags</span>-->
|
||||
<input type='text' name='tag_edit__tags' value='$h_tags' class='autocomplete_tags' id='tag_editor' onfocus='$(\".view\").hide(); $(\".edit\").show();'>
|
||||
</td>
|
||||
</tr>
|
||||
";
|
||||
|
|
|
@ -86,11 +86,6 @@ class ViewImageTheme extends Themelet {
|
|||
$html .= "
|
||||
</table>
|
||||
</form>
|
||||
<script>
|
||||
$(function() {
|
||||
$('.edit').hide();
|
||||
});
|
||||
</script>
|
||||
";
|
||||
return $html;
|
||||
}
|
||||
|
|
|
@ -241,3 +241,6 @@ UL {
|
|||
text-align: right;
|
||||
padding-right: 4px;
|
||||
}
|
||||
.image_info .edit {
|
||||
display: none;
|
||||
}
|
||||
|
|
Reference in a new issue