Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
e744ed9c
Commit
e744ed9c
authored
May 30, 2015
by
Vanessa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5a1a766b
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
war/src/main/webapp/css/default-admin.min.css
war/src/main/webapp/css/default-admin.min.css
+1
-1
war/src/main/webapp/js/admin/latkeAdmin.js
war/src/main/webapp/js/admin/latkeAdmin.js
+9
-0
war/src/main/webapp/js/admin/latkeAdmin.min.js
war/src/main/webapp/js/admin/latkeAdmin.min.js
+1
-1
No files found.
war/src/main/webapp/css/default-admin.min.css
View file @
e744ed9c
This diff is collapsed.
Click to expand it.
war/src/main/webapp/js/admin/latkeAdmin.js
View file @
e744ed9c
...
@@ -749,6 +749,8 @@ admin.editors.CodeMirror = {
...
@@ -749,6 +749,8 @@ admin.editors.CodeMirror = {
*/
*/
setContent
:
function
(
id
,
content
)
{
setContent
:
function
(
id
,
content
)
{
this
[
id
].
setValue
(
content
);
this
[
id
].
setValue
(
content
);
var
$preview
=
$
(
"
#
"
+
id
).
parent
().
find
(
"
.markdown-preivew
"
);
$preview
.
find
(
"
.markdown-preview-main
"
).
html
(
content
);
},
},
/*
/*
* @description 销毁编辑器值
* @description 销毁编辑器值
...
@@ -2286,6 +2288,13 @@ admin.pageList = {
...
@@ -2286,6 +2288,13 @@ admin.pageList = {
}
else
{
}
else
{
this
.
add
();
this
.
add
();
}
}
if
(
admin
.
pageList
.
currentEditorType
!==
Label
.
editorType
)
{
admin
.
editors
.
pageEditor
.
remove
();
admin
.
pageList
.
currentEditorType
=
Label
.
editorType
;
admin
.
editors
.
pageEditor
.
init
(
Label
.
editorType
);
}
},
},
/*
/*
* 调换顺序
* 调换顺序
...
...
war/src/main/webapp/js/admin/latkeAdmin.min.js
View file @
e744ed9c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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