|
|
|
|
@ -53,8 +53,6 @@ export default class extends ApplicationController {
|
|
|
|
|
var params = { subject_ids: $form.find("select[name='subject_ids[]']").val(), headnote: $this.headnoteTarget.value,
|
|
|
|
|
content: $this.contentTarget.value } |
|
|
|
|
|
|
|
|
|
console.log(params) |
|
|
|
|
|
|
|
|
|
if (!params.subject_ids.length) { |
|
|
|
|
$form.find("#subjects-blank-message").show() |
|
|
|
|
} |
|
|
|
|
|