Changeset 3183
- Timestamp:
- 02/17/11 07:48:44
- Files:
-
- releases/bedework-3.7/deployment/webadmin/webapp/resources/default/default/default.css (modified) (2 diffs)
- releases/bedework-3.7/deployment/webadmin/webapp/resources/default/default/default.xsl (modified) (5 diffs)
- releases/bedework-3.7/deployment/webadmin/webapp/resources/resources/catExpander.gif (added)
- releases/bedework-3.7/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl (modified) (11 diffs)
- releases/bedework-3.7/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/javascript/bedeworkScheduling.js (modified) (2 diffs)
- trunk/deployment/webadmin/webapp/resources/default/default/default.css (modified) (2 diffs)
- trunk/deployment/webadmin/webapp/resources/default/default/default.xsl (modified) (5 diffs)
- trunk/deployment/webadmin/webapp/resources/resources/catExpander.gif (added)
- trunk/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl (modified) (11 diffs)
- trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/javascript/bedeworkScheduling.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
releases/bedework-3.7/deployment/webadmin/webapp/resources/default/default/default.css
r3156 r3183 1152 1152 background-color: transparent; 1153 1153 } 1154 .aliasTree input { 1155 margin-left: 6px; 1156 } 1154 1157 img.folderForAliasTree { 1155 1158 padding: 0.5em 0.2em 0 0.5em; … … 1303 1306 background-color: inherit; 1304 1307 } 1308 div#footer a:hover { 1309 color: #444; 1310 background-color: transparent; 1311 } releases/bedework-3.7/deployment/webadmin/webapp/resources/default/default/default.xsl
r3156 r3183 225 225 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> 226 226 <link rel="stylesheet" href="{$resourcesRoot}/default/default/default.css"/> 227 <link rel="stylesheet" href=" {$resourcesRoot}/default/default/subColors.css"/>227 <link rel="stylesheet" href="/bedework-common/default/default/subColors.css"/> 228 228 <!-- set globals that must be passed in from the XSLT --> 229 229 <script type="text/javascript"> … … 367 367 </xsl:for-each> 368 368 } 369 370 $(document).ready(function(){ 371 372 <xsl:if test="/bedework/formElements/recurrenceId = ''"> 373 initRXDates(); 374 </xsl:if> 375 376 <xsl:if test="/bedework/page='modEvent' or /bedework/page='modEventPending'"> 377 initXProperties(); 378 bwSetupDatePickers(); 379 </xsl:if> 380 381 focusFirstElement(); 382 383 // If you wish to collapse specific topical areas, you can specify them here: 384 // (note that this will be managed from the admin client in time) 385 // $("ul.aliasTree > li:eq(4) > ul").hide(); 386 // $("ul.aliasTree > li:eq(11) > ul").hide(); 387 // $("ul.aliasTree > li:eq(13) > ul").hide(); 388 $("ul.aliasTree > li > img.folderForAliasTree").attr("src", '<xsl:value-of select="$resourcesRoot"/>/resources/catExpander.gif'); 389 $("ul.aliasTree > li > img.folderForAliasTree").css("cursor","pointer"); 390 $("ul.aliasTree > li > img.folderForAliasTree").click(function(){ 391 $(this).next("ul.aliasTree > li > ul").slideToggle("slow"); 392 }); 393 394 }); 369 395 </xsl:comment> 370 396 </script> … … 429 455 </head> 430 456 <body> 431 <xsl:choose>432 <xsl:when test="/bedework/page='modEvent' or /bedework/page='modEventPending'">433 <xsl:attribute name="onload"><xsl:if test="/bedework/formElements/recurrenceId = ''">initRXDates();</xsl:if>initXProperties();focusFirstElement();bwSetupDatePickers();</xsl:attribute>434 </xsl:when>435 <xsl:otherwise>436 <xsl:attribute name="onload">focusFirstElement();</xsl:attribute>437 </xsl:otherwise>438 </xsl:choose>439 457 <div id="bedework"><!-- main wrapper div to keep styles encapsulated --> 440 458 <xsl:choose> … … 1246 1264 '<xsl:for-each select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-ALIAS']/values/text"><xsl:call-template name="escapeApos"><xsl:with-param name="str"><xsl:call-template name="substring-afterLastInstanceOf"><xsl:with-param name="string" select="."/><xsl:with-param name="char">/</xsl:with-param></xsl:call-template></xsl:with-param></xsl:call-template><br/></xsl:for-each>', 1247 1265 '<xsl:call-template name="escapeApos"><xsl:with-param name="str" select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text"/></xsl:call-template>', 1248 '<xsl:call-template name="escape Apos"><xsl:with-param name="str" select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text"/></xsl:call-template>');1266 '<xsl:call-template name="escapeJson"><xsl:with-param name="string" select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text"/></xsl:call-template>'); 1249 1267 </script> 1250 1268 … … 2495 2513 <td> 2496 2514 <input type="text" name="xBwImageHolder" value="" size="80" class="edit"> 2497 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" /></xsl:attribute>2515 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 2498 2516 </input> 2499 2517 <xsl:text> </xsl:text> releases/bedework-3.7/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl
r3154 r3183 999 999 <td class="fieldval"> 1000 1000 <input type="text" name="xBwImageHolder" size="30" value=""> 1001 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" /></xsl:attribute>1001 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 1002 1002 </input> 1003 1003 <xsl:text> </xsl:text> … … 1027 1027 <label for="commentLocationAddress"><xsl:copy-of select="$bwStr-FoEl-Address"/><xsl:text> </xsl:text></label> 1028 1028 <input type="text" name="commentLocationAddress" id="bwCommentLocationAddress"> 1029 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/values/text" /></xsl:attribute>1029 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/values/text" disable-output-escaping="yes"/></xsl:attribute> 1030 1030 </input> 1031 1031 </p> … … 1033 1033 <label for="commentLocationSubaddress"><em><xsl:copy-of select="$bwStr-FoEl-SubAddress"/></em> </label> 1034 1034 <input type="text" name="commentLocationSubaddress" id="commentLocationSubaddress"> 1035 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-SUBADDRESS']" /></xsl:attribute>1035 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-SUBADDRESS']" disable-output-escaping="yes"/></xsl:attribute> 1036 1036 </input> 1037 1037 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> … … 1040 1040 <label for="commentLocationURL"><em><xsl:copy-of select="$bwStr-FoEl-URL"/></em> </label> 1041 1041 <input type="text" name="commentLocationURL" id="commentLocationURL"> 1042 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" /></xsl:attribute>1042 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" disable-output-escaping="yes"/></xsl:attribute> 1043 1043 </input> 1044 1044 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> … … 1066 1066 <label for="commentContactName"><xsl:copy-of select="$bwStr-FoEl-OrganizationName"/><xsl:text> </xsl:text> </label> 1067 1067 <input type="text" name="commentContactName" id="bwCommentContactName" size="40"> 1068 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/values/text" /></xsl:attribute>1068 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/values/text" disable-output-escaping="yes"/></xsl:attribute> 1069 1069 </input> 1070 1070 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-PleaseLimitContacts"/></span> … … 1073 1073 <label for="commentContactPhone"><em><xsl:copy-of select="$bwStr-FoEl-Phone"/></em> </label> 1074 1074 <input type="text" name="commentContactPhone"> 1075 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-PHONE']" /></xsl:attribute>1075 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-PHONE']" disable-output-escaping="yes"/></xsl:attribute> 1076 1076 </input> 1077 1077 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> … … 1080 1080 <label for="commentContactURL"><em><xsl:copy-of select="$bwStr-FoEl-URL"/></em> </label> 1081 1081 <input type="text" name="commentContactURL"> 1082 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" /></xsl:attribute>1082 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" disable-output-escaping="yes"/></xsl:attribute> 1083 1083 </input> 1084 1084 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> … … 1087 1087 <label for="commentContactEmail"><em><xsl:copy-of select="$bwStr-FoEl-Email"/></em> </label> 1088 1088 <input type="text" name="commentContactEmail"> 1089 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-EMAIL']" /></xsl:attribute>1089 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-EMAIL']" disable-output-escaping="yes"/></xsl:attribute> 1090 1090 </input> 1091 1091 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> … … 1113 1113 <label for="commentCategories"><xsl:copy-of select="$bwStr-FoEl-TypeOfEvent"/><xsl:text> </xsl:text></label> 1114 1114 <input type="text" name="commentCategories" size="80"> 1115 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" /></xsl:attribute>1115 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" disable-output-escaping="yes"/></xsl:attribute> 1116 1116 </input> 1117 1117 </p> … … 1154 1154 <label for="commentCategories">Category suggestion: </label> 1155 1155 <input type="text" name="commentCategories" size="30"> 1156 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" /></xsl:attribute>1156 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" disable-output-escaping="yes"/></xsl:attribute> 1157 1157 </input> 1158 1158 </p> … … 1185 1185 <!-- note: don't remove the #160 from the textarea or browsers will see it as a closed tag when empty --> 1186 1186 <textarea name="commentNotes" cols="60" rows="4"><!-- 1187 --><xsl:value-of select="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text)" /><!--1188 --><xsl:if test="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text) = ''">  </xsl:if><!--1187 --><xsl:value-of select="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text)" disable-output-escaping="yes"/><!-- 1188 --><xsl:if test="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text) = ''"><xsl:text> </xsl:text></xsl:if><!-- 1189 1189 --></textarea> 1190 1190 </p> releases/bedework-3.7/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/javascript/bedeworkScheduling.js
r3138 r3183 437 437 error: function(msg) { 438 438 // there was a problem 439 if (msg.statusText == "OK") { 440 alert(msg.responseText); 441 } 442 else { 439 443 alert(msg.statusText); 444 } 440 445 } 441 446 }); … … 1254 1259 1255 1260 } catch (e) { 1256 alert( e);1261 alert("Error: " + e); 1257 1262 } 1258 1263 trunk/deployment/webadmin/webapp/resources/default/default/default.css
r3156 r3183 1152 1152 background-color: transparent; 1153 1153 } 1154 .aliasTree input { 1155 margin-left: 6px; 1156 } 1154 1157 img.folderForAliasTree { 1155 1158 padding: 0.5em 0.2em 0 0.5em; … … 1303 1306 background-color: inherit; 1304 1307 } 1308 div#footer a:hover { 1309 color: #444; 1310 background-color: transparent; 1311 } trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r3156 r3183 225 225 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> 226 226 <link rel="stylesheet" href="{$resourcesRoot}/default/default/default.css"/> 227 <link rel="stylesheet" href=" {$resourcesRoot}/default/default/subColors.css"/>227 <link rel="stylesheet" href="/bedework-common/default/default/subColors.css"/> 228 228 <!-- set globals that must be passed in from the XSLT --> 229 229 <script type="text/javascript"> … … 367 367 </xsl:for-each> 368 368 } 369 370 $(document).ready(function(){ 371 372 <xsl:if test="/bedework/formElements/recurrenceId = ''"> 373 initRXDates(); 374 </xsl:if> 375 376 <xsl:if test="/bedework/page='modEvent' or /bedework/page='modEventPending'"> 377 initXProperties(); 378 bwSetupDatePickers(); 379 </xsl:if> 380 381 focusFirstElement(); 382 383 // If you wish to collapse specific topical areas, you can specify them here: 384 // (note that this will be managed from the admin client in time) 385 // $("ul.aliasTree > li:eq(4) > ul").hide(); 386 // $("ul.aliasTree > li:eq(11) > ul").hide(); 387 // $("ul.aliasTree > li:eq(13) > ul").hide(); 388 $("ul.aliasTree > li > img.folderForAliasTree").attr("src", '<xsl:value-of select="$resourcesRoot"/>/resources/catExpander.gif'); 389 $("ul.aliasTree > li > img.folderForAliasTree").css("cursor","pointer"); 390 $("ul.aliasTree > li > img.folderForAliasTree").click(function(){ 391 $(this).next("ul.aliasTree > li > ul").slideToggle("slow"); 392 }); 393 394 }); 369 395 </xsl:comment> 370 396 </script> … … 429 455 </head> 430 456 <body> 431 <xsl:choose>432 <xsl:when test="/bedework/page='modEvent' or /bedework/page='modEventPending'">433 <xsl:attribute name="onload"><xsl:if test="/bedework/formElements/recurrenceId = ''">initRXDates();</xsl:if>initXProperties();focusFirstElement();bwSetupDatePickers();</xsl:attribute>434 </xsl:when>435 <xsl:otherwise>436 <xsl:attribute name="onload">focusFirstElement();</xsl:attribute>437 </xsl:otherwise>438 </xsl:choose>439 457 <div id="bedework"><!-- main wrapper div to keep styles encapsulated --> 440 458 <xsl:choose> … … 1246 1264 '<xsl:for-each select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-ALIAS']/values/text"><xsl:call-template name="escapeApos"><xsl:with-param name="str"><xsl:call-template name="substring-afterLastInstanceOf"><xsl:with-param name="string" select="."/><xsl:with-param name="char">/</xsl:with-param></xsl:call-template></xsl:with-param></xsl:call-template><br/></xsl:for-each>', 1247 1265 '<xsl:call-template name="escapeApos"><xsl:with-param name="str" select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text"/></xsl:call-template>', 1248 '<xsl:call-template name="escape Apos"><xsl:with-param name="str" select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text"/></xsl:call-template>');1266 '<xsl:call-template name="escapeJson"><xsl:with-param name="string" select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text"/></xsl:call-template>'); 1249 1267 </script> 1250 1268 … … 2495 2513 <td> 2496 2514 <input type="text" name="xBwImageHolder" value="" size="80" class="edit"> 2497 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" /></xsl:attribute>2515 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 2498 2516 </input> 2499 2517 <xsl:text> </xsl:text> trunk/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl
r3154 r3183 999 999 <td class="fieldval"> 1000 1000 <input type="text" name="xBwImageHolder" size="30" value=""> 1001 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" /></xsl:attribute>1001 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text" disable-output-escaping="yes"/></xsl:attribute> 1002 1002 </input> 1003 1003 <xsl:text> </xsl:text> … … 1027 1027 <label for="commentLocationAddress"><xsl:copy-of select="$bwStr-FoEl-Address"/><xsl:text> </xsl:text></label> 1028 1028 <input type="text" name="commentLocationAddress" id="bwCommentLocationAddress"> 1029 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/values/text" /></xsl:attribute>1029 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/values/text" disable-output-escaping="yes"/></xsl:attribute> 1030 1030 </input> 1031 1031 </p> … … 1033 1033 <label for="commentLocationSubaddress"><em><xsl:copy-of select="$bwStr-FoEl-SubAddress"/></em> </label> 1034 1034 <input type="text" name="commentLocationSubaddress" id="commentLocationSubaddress"> 1035 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-SUBADDRESS']" /></xsl:attribute>1035 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-SUBADDRESS']" disable-output-escaping="yes"/></xsl:attribute> 1036 1036 </input> 1037 1037 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> … … 1040 1040 <label for="commentLocationURL"><em><xsl:copy-of select="$bwStr-FoEl-URL"/></em> </label> 1041 1041 <input type="text" name="commentLocationURL" id="commentLocationURL"> 1042 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" /></xsl:attribute>1042 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-LOCATION']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" disable-output-escaping="yes"/></xsl:attribute> 1043 1043 </input> 1044 1044 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> … … 1066 1066 <label for="commentContactName"><xsl:copy-of select="$bwStr-FoEl-OrganizationName"/><xsl:text> </xsl:text> </label> 1067 1067 <input type="text" name="commentContactName" id="bwCommentContactName" size="40"> 1068 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/values/text" /></xsl:attribute>1068 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/values/text" disable-output-escaping="yes"/></xsl:attribute> 1069 1069 </input> 1070 1070 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-PleaseLimitContacts"/></span> … … 1073 1073 <label for="commentContactPhone"><em><xsl:copy-of select="$bwStr-FoEl-Phone"/></em> </label> 1074 1074 <input type="text" name="commentContactPhone"> 1075 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-PHONE']" /></xsl:attribute>1075 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-PHONE']" disable-output-escaping="yes"/></xsl:attribute> 1076 1076 </input> 1077 1077 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> … … 1080 1080 <label for="commentContactURL"><em><xsl:copy-of select="$bwStr-FoEl-URL"/></em> </label> 1081 1081 <input type="text" name="commentContactURL"> 1082 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" /></xsl:attribute>1082 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-URL']" disable-output-escaping="yes"/></xsl:attribute> 1083 1083 </input> 1084 1084 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> … … 1087 1087 <label for="commentContactEmail"><em><xsl:copy-of select="$bwStr-FoEl-Email"/></em> </label> 1088 1088 <input type="text" name="commentContactEmail"> 1089 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-EMAIL']" /></xsl:attribute>1089 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CONTACT']/parameters/node()[name()='X-BEDEWORK-PARAM-EMAIL']" disable-output-escaping="yes"/></xsl:attribute> 1090 1090 </input> 1091 1091 <span class="note"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-FoEl-Optional"/></span> … … 1113 1113 <label for="commentCategories"><xsl:copy-of select="$bwStr-FoEl-TypeOfEvent"/><xsl:text> </xsl:text></label> 1114 1114 <input type="text" name="commentCategories" size="80"> 1115 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" /></xsl:attribute>1115 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" disable-output-escaping="yes"/></xsl:attribute> 1116 1116 </input> 1117 1117 </p> … … 1154 1154 <label for="commentCategories">Category suggestion: </label> 1155 1155 <input type="text" name="commentCategories" size="30"> 1156 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" /></xsl:attribute>1156 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-CATEGORIES']/values/text" disable-output-escaping="yes"/></xsl:attribute> 1157 1157 </input> 1158 1158 </p> … … 1185 1185 <!-- note: don't remove the #160 from the textarea or browsers will see it as a closed tag when empty --> 1186 1186 <textarea name="commentNotes" cols="60" rows="4"><!-- 1187 --><xsl:value-of select="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text)" /><!--1188 --><xsl:if test="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text) = ''">  </xsl:if><!--1187 --><xsl:value-of select="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text)" disable-output-escaping="yes"/><!-- 1188 --><xsl:if test="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text) = ''"><xsl:text> </xsl:text></xsl:if><!-- 1189 1189 --></textarea> 1190 1190 </p> trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/javascript/bedeworkScheduling.js
r3137 r3183 437 437 error: function(msg) { 438 438 // there was a problem 439 if (msg.statusText == "OK") { 440 alert(msg.responseText); 441 } 442 else { 439 443 alert(msg.statusText); 444 } 440 445 } 441 446 }); … … 1254 1259 1255 1260 } catch (e) { 1256 alert( e);1261 alert("Error: " + e); 1257 1262 } 1258 1263
