Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
aa86f345
authored
2018-03-28 23:07:16 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
3b1fe8ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
application/views/config/edit.php
application/views/config/edit.php
View file @
aa86f34
...
...
@@ -83,6 +83,7 @@
function
save
()
{
var
targetUrl
=
$
(
"#add"
).
attr
(
"action"
);
var
data
=
$
(
"#add"
).
serializeJson
();
console
.
log
(
JSON
.
stringify
(
data
));
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
targetUrl
,
...
...
@@ -100,8 +101,8 @@
}
setTimeout
(
function
()
{
if
(
!
data
.
code
)
{
window
.
parent
.
reload
();
layer_close
();
//
window.parent.reload();
//
layer_close();
}
},
500
);
},
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment