Merge branch 'mediadb-figure'
This commit is contained in:
commit
34bf25066c
@ -364,10 +364,10 @@
|
|||||||
if ($('#serendipity_imagecomment').val() != '') {
|
if ($('#serendipity_imagecomment').val() != '') {
|
||||||
var comment = f['serendipity[imagecomment]'].value;
|
var comment = f['serendipity[imagecomment]'].value;
|
||||||
|
|
||||||
var img = '<div class="serendipity_imageComment_' + floating + '" style="width: ' + imgWidth + 'px">'
|
var img = '<figure class="serendipity_imageComment_' + floating + '" style="width: ' + imgWidth + 'px">'
|
||||||
+ '<div class="serendipity_imageComment_img">' + img + '</div>'
|
+ '<div class="serendipity_imageComment_img">' + img + '</div>'
|
||||||
+ '<div class="serendipity_imageComment_txt">' + comment + '</div>'
|
+ '<figcaption class="serendipity_imageComment_txt">' + comment + '</figcaption>'
|
||||||
+ '</div>';
|
+ '</figure>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parent.self.opener.serendipity == undefined) {
|
if (parent.self.opener.serendipity == undefined) {
|
||||||
@ -664,7 +664,7 @@
|
|||||||
{serendipity_hookPlugin hook='backend_entry_checkSave' hookAll='true'}
|
{serendipity_hookPlugin hook='backend_entry_checkSave' hookAll='true'}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// set a category to checked
|
// set a category to checked
|
||||||
serendipity.enableCategory = function(catNumber) {
|
serendipity.enableCategory = function(catNumber) {
|
||||||
$("#" + "serendipity_category_" + catNumber).prop("checked", true);
|
$("#" + "serendipity_category_" + catNumber).prop("checked", true);
|
||||||
@ -1034,7 +1034,7 @@ $(function() {
|
|||||||
$('#imageForm').submit(function() {
|
$('#imageForm').submit(function() {
|
||||||
serendipity.serendipity_imageSelector_done();
|
serendipity.serendipity_imageSelector_done();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#serendipityEntry').submit(function() {
|
$('#serendipityEntry').submit(function() {
|
||||||
return serendipity.checkSave();
|
return serendipity.checkSave();
|
||||||
});
|
});
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.serendipity_imageComment_center {
|
.serendipity_imageComment_center {
|
||||||
|
clear: both;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user