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
0e2defe1
authored
2018-03-15 22:54:21 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
75df1306
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
application/views/work/add.php
application/views/work/add.php
View file @
0e2defe
...
...
@@ -58,14 +58,14 @@
}
});
$
(
"#work_add_btn"
).
click
(
function
(){
var
targetUrl
=
$
(
"#
addForm
"
).
attr
(
"action"
);
var
data
=
$
(
"#
addForm
"
).
serialize
();
var
targetUrl
=
$
(
"#
work_add
"
).
attr
(
"action"
);
var
data
=
$
(
"#
work_add
"
).
serialize
();
$
.
ajax
({
type
:
'post'
,
url
:
apiBaseUrl
+
targetUrl
,
cache
:
false
,
data
:
data
,
dataType
:
'json'
,
//
dataType:'json',
success
:
function
(
data
){
alert
(
'success'
);
},
...
...
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