mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-08 21:06:24 +08:00
Fix markup
This commit is contained in:
parent
f2ed3198d5
commit
0b04ca4012
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
/* global PerfectScrollbar activePSB PerfectSb I18n */
|
/* global PerfectScrollbar activePSB PerfectSb I18n */
|
||||||
/* eslint-disable no-unused-vars, no-use-before-define */
|
/* eslint-disable no-unused-vars, no-use-before-define */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Data options for SELECT:
|
Data options for SELECT:
|
||||||
data-ajax-url // Url for GET ajax request
|
data-ajax-url // Url for GET ajax request
|
||||||
|
|
|
@ -173,7 +173,7 @@ class ProtocolsController < ApplicationController
|
||||||
if @protocol.update_keywords(params[:keywords])
|
if @protocol.update_keywords(params[:keywords])
|
||||||
format.json do
|
format.json do
|
||||||
log_activity(:edit_keywords_in_protocol_repository, nil, protocol: @protocol.id)
|
log_activity(:edit_keywords_in_protocol_repository, nil, protocol: @protocol.id)
|
||||||
render json: {status: :ok}
|
render json: { status: :ok }
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
format.json { render json: {}, status: :unprocessable_entity }
|
format.json { render json: {}, status: :unprocessable_entity }
|
||||||
|
|
Loading…
Add table
Reference in a new issue