Skip to content
This repository was archived by the owner on May 18, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/main/resources/static/admin/js/article.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ function allow_comment(obj) {
var on = this_.attr('on');
if (on == 'true') {
this_.attr('on', 'false');
$('#allow_comment').val('false');
$('#allowComment').val('false');
} else {
this_.attr('on', 'true');
$('#allow_comment').val('true');
$('#allowComment').val('true');
}
}

Expand All @@ -261,10 +261,10 @@ function allow_ping(obj) {
var on = this_.attr('on');
if (on == 'true') {
this_.attr('on', 'false');
$('#allow_ping').val('false');
$('#allowPing').val('false');
} else {
this_.attr('on', 'true');
$('#allow_ping').val('true');
$('#allowPing').val('true');
}
}

Expand All @@ -274,10 +274,10 @@ function allow_feed(obj) {
var on = this_.attr('on');
if (on == 'true') {
this_.attr('on', 'false');
$('#allow_feed').val('false');
$('#allowFeed').val('false');
} else {
this_.attr('on', 'true');
$('#allow_feed').val('true');
$('#allowFeed').val('true');
}
}

Expand Down