Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

embedded makes sure we're not pid=true

  • Loading branch information...
commit c2e5ad8d04dbf19257d544c2976adf777c1c2f58 1 parent 047d8bb
Danny Yoo authored
Showing with 9 additions and 2 deletions.
  1. +3 −1 war/openEditor/index.jsp
  2. +6 −1 war/test-xdm.html
View
4 war/openEditor/index.jsp
@@ -146,7 +146,9 @@
<%
if (request.getParameter("embedded") != null &&
- request.getParameter("embedded").equals("true")) {
+ request.getParameter("embedded").equals("true") &&
+ // embedded mode is not allowed when pid has been provided.
+ request.getParameter("pid") == null) {
isEmbedded = true;
}
%>
View
7 war/test-xdm.html
@@ -18,7 +18,12 @@
props: {style: {width: "100%", height: "100%"}},
},
{remote : { run : {},
- requestBreak : {} }});
+ requestBreak : {},
+ setDefinitionsText : {},
+ getDefinitionsText : {}}});
+rpc.setDefinitionsText("\"testing one two three\"",
+ function() {
+ });
</script>
<body>
Please sign in to comment.
Something went wrong with that request. Please try again.