parent
b3e0c1f6c6
commit
c8018f909e
@ -646,17 +646,18 @@
|
||||
serendipity.tagsList = function() {
|
||||
var $source = $('#properties_freetag_tagList').val();
|
||||
var $target = $('#tags_list > ul');
|
||||
if (!$source) return;
|
||||
var tagged = $source.split(',');
|
||||
|
||||
$target.empty();
|
||||
if (typeof $source !== 'undefined') {
|
||||
var tagged = $source.split(',');
|
||||
$target.empty();
|
||||
|
||||
if (tagged == '') {
|
||||
$('<li>{$CONST.EDITOR_NO_TAGS}</li>').appendTo($target);
|
||||
} else {
|
||||
$.each(tagged, function(key, tag) {
|
||||
$('<li class="selected">'+ tag +'</li>').appendTo($target);
|
||||
});
|
||||
if (tagged == '') {
|
||||
$('<li>{$CONST.EDITOR_NO_TAGS}</li>').appendTo($target);
|
||||
} else {
|
||||
$.each(tagged, function(key, tag) {
|
||||
$('<li class="selected">'+ tag +'</li>').appendTo($target);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1812,6 +1812,7 @@ form > .button_link:first-of-type,
|
||||
.taxonomy li {
|
||||
display: inline-block;
|
||||
margin: 0 .5714em .3571em 0;
|
||||
padding: .1875em 0 0;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user