Commit 33877de8 authored by Liang Ding's avatar Liang Ding

🎨 Fix #12610

parent c6a7cb12
......@@ -73,12 +73,12 @@
</span>
<div class="right article-commentable__panel">
<label for="articleCommentable" style="margin: 13px 0 0 0">${allowComment1Label}</label>
<input type="checkbox" id="articleCommentable" checked="checked" />
<span id="postToCommunityPanel" class="none">
<input type="checkbox" id="articleCommentable" checked />
<span id="postToCommunityPanel">
<label for="postToCommunity">
<a class="no-underline" href="https://hacpai.com/article/1440573175609" target="_blank">${postToCommunityLabel}</a>
<a class="no-underline" href="https://hacpai.com/article/1546941897596" target="_blank">${postToCommunityLabel}</a>
</label>
<input id="postToCommunity" type="checkbox" checked="checked"/>
<input id="postToCommunity" type="checkbox" />
</span>
</div>
<div class="clear"></div>
......
......@@ -20,7 +20,7 @@
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.5.1.1, Dec 10, 2018
* @version 1.5.1.2, Jan 13, 2019
*/
admin.article = {
currentEditorType: '',
......@@ -343,15 +343,13 @@ admin.article = {
if (this.status.articleHadBeenPublished) {
$("#postToCommunityPanel").hide();
} else {
// 1.0.0 开始默认会发布到社区
// $("#postToCommunityPanel").show();
$("#postToCommunityPanel").show();
}
} else {
$("#submitArticle").show();
$("#unSubmitArticle").hide();
$("#saveArticle").show();
// 1.0.0 开始默认会发布到社区
// $("#postToCommunityPanel").show();
$("#postToCommunityPanel").show();
}
$("#postToCommunity").attr("checked", "checked");
......
......@@ -1055,7 +1055,7 @@ $.extend(TablePaginate.prototype, {
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.5.1.1, Dec 10, 2018
* @version 1.5.1.2, Jan 13, 2019
*/
admin.article = {
currentEditorType: '',
......@@ -1378,15 +1378,13 @@ admin.article = {
if (this.status.articleHadBeenPublished) {
$("#postToCommunityPanel").hide();
} else {
// 1.0.0 开始默认会发布到社区
// $("#postToCommunityPanel").show();
$("#postToCommunityPanel").show();
}
} else {
$("#submitArticle").show();
$("#unSubmitArticle").hide();
$("#saveArticle").show();
// 1.0.0 开始默认会发布到社区
// $("#postToCommunityPanel").show();
$("#postToCommunityPanel").show();
}
$("#postToCommunity").attr("checked", "checked");
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment