Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
37cf9f81
Commit
37cf9f81
authored
Oct 03, 2013
by
Matija Obreza
Browse files
Load TinyMCE when needed only
parent
172d37af
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/decorator/entry.jsp
View file @
37cf9f81
...
...
@@ -33,9 +33,6 @@
<script type="text/javascript" src="/html/js/handlebars.js"></script> -->
<script
type=
"text/javascript"
src=
"/html/js/bootstrap.min.js"
></script>
<sec:authorize
access=
"! isAnonymous()"
>
<script
type=
"text/javascript"
src=
"/html/js/tinymce/tinymce.min.js"
></script>
</sec:authorize>
<script
type=
"text/javascript"
src=
"/html/js/crophub.js"
></script>
<!--
--><!-- <script type="text/javascript" src="/html/js/main.js"></script>
...
...
src/main/webapp/WEB-INF/decorator/main.jsp
View file @
37cf9f81
...
...
@@ -32,9 +32,6 @@
<script type="text/javascript" src="/html/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="/html/js/handlebars.js"></script> -->
<script
type=
"text/javascript"
src=
"/html/js/bootstrap.min.js"
></script>
<sec:authorize
access=
"! isAnonymous()"
>
<script
type=
"text/javascript"
src=
"/html/js/tinymce/tinymce.min.js"
></script>
</sec:authorize>
<script
type=
"text/javascript"
src=
"/html/js/crophub.js"
></script>
<!--
-->
...
...
src/main/webapp/WEB-INF/jsp/content/article-edit.jsp
View file @
37cf9f81
...
...
@@ -5,6 +5,7 @@
<html>
<head>
<title>
${title}
</title>
<script
type=
"text/javascript"
src=
"/html/js/tinymce/tinymce.min.js"
></script>
</head>
<body>
<h1>
...
...
src/main/webapp/WEB-INF/jsp/country/edit.jsp
View file @
37cf9f81
...
...
@@ -5,6 +5,7 @@
<html>
<head>
<title><spring:message
code=
"country.page.profile.title"
arguments=
"
${
country
.
name
}
"
argumentSeparator=
"|"
/></title>
<script
type=
"text/javascript"
src=
"/html/js/tinymce/tinymce.min.js"
></script>
</head>
<body>
<h1>
...
...
@@ -33,7 +34,8 @@
selector
:
"
#blurp-body.html-editor
"
,
menubar
:
false
,
statusbar
:
false
,
height
:
200
height
:
200
,
directionality
:
document
.
dir
});
});
</script>
...
...
src/main/webapp/WEB-INF/jsp/organization/edit.jsp
View file @
37cf9f81
...
...
@@ -5,6 +5,7 @@
<html>
<head>
<title><spring:message
code=
"organization.page.profile.title"
arguments=
"
${
organization
.
slug
}
"
argumentSeparator=
"|"
/></title>
<script
type=
"text/javascript"
src=
"/html/js/tinymce/tinymce.min.js"
></script>
</head>
<body>
<h1>
...
...
@@ -47,7 +48,8 @@
selector
:
"
.html-editor
"
,
menubar
:
false
,
statusbar
:
false
,
height
:
200
height
:
200
,
directionality
:
document
.
dir
});
});
</script>
...
...
src/main/webapp/WEB-INF/jsp/wiews/edit.jsp
View file @
37cf9f81
...
...
@@ -5,6 +5,7 @@
<html>
<head>
<title><spring:message
code=
"faoInstitutes.page.profile.title"
arguments=
"
${
faoInstitute
.
fullName
}
"
argumentSeparator=
"|"
/></title>
<script
type=
"text/javascript"
src=
"/html/js/tinymce/tinymce.min.js"
></script>
</head>
<body>
<h1>
...
...
@@ -33,7 +34,8 @@
selector
:
"
#blurp-body.html-editor
"
,
menubar
:
false
,
statusbar
:
false
,
height
:
200
height
:
200
,
directionality
:
document
.
dir
});
});
</script>
...
...
Write
Preview
Supports
Markdown
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