You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2013/11/05 19:23:44 UTC
git commit: updated refs/heads/master to fdf7639
Updated Branches:
refs/heads/master b464a20a5 -> fdf7639eb
Fixed some html validation errors
language tag in script is deprecated. used type
<script> tag after </html> is invalid. moved the localized messages dictionary inside html body.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fdf7639e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fdf7639e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fdf7639e
Branch: refs/heads/master
Commit: fdf7639eb839a88800b7eb19109a5d3e7921c33f
Parents: b464a20
Author: Rajani Karuturi <ra...@gmail.com>
Authored: Wed Oct 30 12:08:45 2013 +0530
Committer: Jessica Wang <je...@apache.org>
Committed: Tue Nov 5 10:23:32 2013 -0800
----------------------------------------------------------------------
ui/dictionary.jsp | 2 +-
ui/index.jsp | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fdf7639e/ui/dictionary.jsp
----------------------------------------------------------------------
diff --git a/ui/dictionary.jsp b/ui/dictionary.jsp
index ed269c8..85f24c6 100644
--- a/ui/dictionary.jsp
+++ b/ui/dictionary.jsp
@@ -23,7 +23,7 @@ under the License.
</c:if>
<fmt:setBundle basename="resources/messages"/>
<% long now = System.currentTimeMillis(); %>
-<script language="javascript">
+<script type="text/javascript">
dictionary = {
'label.hypervisors': '<fmt:message key="label.hypervisors" />',
'label.home': '<fmt:message key="label.home" />',
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fdf7639e/ui/index.jsp
----------------------------------------------------------------------
diff --git a/ui/index.jsp b/ui/index.jsp
index 56a4b27..edfd4e3 100644
--- a/ui/index.jsp
+++ b/ui/index.jsp
@@ -1722,6 +1722,8 @@
<script type="text/javascript" src="plugins/plugins.js?t=<%=now%>"></script>
<script type="text/javascript" src="modules/modules.js?t=<%=now%>"></script>
<script type="text/javascript" src="scripts/plugins.js?t=<%=now%>"></script>
+
+ <!-- localized messages -->
+ <jsp:include page="dictionary.jsp" />
</body>
</html>
-<jsp:include page="dictionary.jsp" />