Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-server
Commits
f0577812
Commit
f0577812
authored
Sep 18, 2018
by
Георгий Попов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Задача 12799] Добавил всплывающее сообщение при обновлении опечаток
parent
7cc5c747
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
SiteList.jsx
cp/javascript/src/components/SiteList.jsx
+10
-6
No files found.
cp/javascript/src/components/SiteList.jsx
View file @
f0577812
...
...
@@ -4,8 +4,9 @@ import TypoList from "./TypoList/";
import
FaRefresh
from
'react-icons/lib/fa/refresh'
;
import
TopBarProgress
from
'react-topbar-progress-indicator'
;
export
default
class
SiteList
extends
React
.
Component
{
const
alertify
=
require
(
"alertify.js"
);
export
default
class
SiteList
extends
React
.
Component
{
constructor
(
props
)
{
super
(
props
);
...
...
@@ -43,11 +44,14 @@ export default class SiteList extends React.Component {
tab
=
tab
===
undefined
?
this
.
state
.
activeTab
:
tab
;
this
.
loadSiteTypos
(
tab
,
()
=>
this
.
setState
({
refreshing
:
false
,
activeTab
:
tab
})
this
.
loadSiteTypos
(
tab
,
()
=>
{
alertify
.
success
(
"Опечатки обновлены"
);
this
.
setState
({
refreshing
:
false
,
activeTab
:
tab
});
}
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment