Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/docs/content/index.html
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/docs/content/index.html?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/docs/content/index.html (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/docs/content/index.html Sat Jul 28 11:50:09 2018 @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="X-UA-Compatible" content="IE=7"></meta> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>README: Web-based Help from DocBook XML</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="next" href="ch01.html" title="Introduction"></link><script type="text/javascript"> +<title>README: Web-based Help from DocBook XML</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="next" href="ch01.html" title="Introduction"></link><script type="application/javascript"> //The id for tree cookie var treeCookieId = "treeview-1055"; var language = "en"; @@ -85,7 +85,7 @@ border: none; background: none; font-wei .ui-tabs { padding: .2em;} .ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} .ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Â </h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar + </style><script type="application/javascript" src="../common/browserDetect.js"></script><script type="application/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="application/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="application/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="application/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="application/javascript" src="search/l10n.js"></script><script type="application/javascript" src="search/htmlFileInfoList.js"></script><script type="application/javascript" src="search/nwSearchFnt.js"></script><script type="application/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="application/javascript" src="search/index-1.js"></script><script type="application/javascript" src="search/index-2.js"></script><script type="appli cation/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Â </h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar </a></td><td>Â | <a accesskey="n" class="navLinkNext" tabindex="5" href="ch01.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="book"><div xmlns="" class="titlepage"> @@ -132,4 +132,4 @@ border: none; background: none; font-wei <hr> </div> <div class="list-of-figures"><p><strong>List of Figures</strong></p><dl><dt>1. <a href="ch02s05.html#id376944">Sample Image</a></dt></dl></div><div class="list-of-examples"><p><strong>List of Examples</strong></p><dl><dt>1. <a href="ch02s05.html#id376967">Example code for adding images. Note down the relative path used</a></dt><dt>2. <a href="ch03s02s01.html#id377526">Add new language to supportedLanguages array</a></dt><dt>3. <a href="ch03s02s01.html#id377581">Initialize correct stemmer based on the - <code class="code">webhelp.indexer.language</code> specified</a></dt></dl></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left">Â </td><td width="20%" align="center">Â </td><td width="40%" align="right">Â <a accesskey="n" href="ch01.html">Next</a></td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file">< a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" ta bindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> + <code class="code">webhelp.indexer.language</code> specified</a></dt></dl></div></div><script type="application/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left">Â </td><td width="20%" align="center">Â </td><td width="40%" align="right">Â <a accesskey="n" href="ch01.html">Next</a></td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class=" file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.h tml" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/xsl/webhelp-common.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/xsl/webhelp-common.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/xsl/webhelp-common.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/webhelp/xsl/webhelp-common.xsl Sat Jul 28 11:50:09 2018 @@ -109,7 +109,7 @@ These problems go away when you add this webhelp.tree.cookie.id = <xsl:value-of select="$webhelp.tree.cookie.id"/> +++ <xsl:value-of select="count(//node())"/> $webhelp.indexer.language = <xsl:value-of select="$webhelp.indexer.language"/> +++ <xsl:value-of select="count(//node())"/> </xsl:message>--> - <script type="text/javascript"> + <script type="application/javascript"> //The id for tree cookie var treeCookieId = "<xsl:value-of select="$webhelp.tree.cookie.id"/>"; var language = "<xsl:value-of select="$webhelp.indexer.language"/>"; @@ -222,19 +222,19 @@ border: none; background: none; font-wei browserDetect is an Oxygen addition to warn the user if they're using chrome from the file system. This breaks the Oxygen search highlighting. --> - <script type="text/javascript" src="{$webhelp.common.dir}browserDetect.js"> + <script type="application/javascript" src="{$webhelp.common.dir}browserDetect.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="{$webhelp.common.dir}jquery/jquery-1.4.2.min.js"> + <script type="application/javascript" src="{$webhelp.common.dir}jquery/jquery-1.4.2.min.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="{$webhelp.common.dir}jquery/jquery-ui-1.8.2.custom.min.js"> + <script type="application/javascript" src="{$webhelp.common.dir}jquery/jquery-ui-1.8.2.custom.min.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="{$webhelp.common.dir}jquery/jquery.cookie.js"> + <script type="application/javascript" src="{$webhelp.common.dir}jquery/jquery.cookie.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="{$webhelp.common.dir}jquery/treeview/jquery.treeview.min.js"> + <script type="application/javascript" src="{$webhelp.common.dir}jquery/treeview/jquery.treeview.min.js"> <xsl:comment> </xsl:comment> </script> @@ -242,13 +242,13 @@ border: none; background: none; font-wei <!--Scripts/css stylesheets for Search--> <!-- TODO: Why THREE files? There's absolutely no need for having separate files. These should have been identified at the optimization phase! --> - <script type="text/javascript" src="search/l10n.js"> + <script type="application/javascript" src="search/l10n.js"> <xsl:comment></xsl:comment> </script> - <script type="text/javascript" src="search/htmlFileInfoList.js"> + <script type="application/javascript" src="search/htmlFileInfoList.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="search/nwSearchFnt.js"> + <script type="application/javascript" src="search/nwSearchFnt.js"> <xsl:comment> </xsl:comment> </script> @@ -258,7 +258,7 @@ border: none; background: none; font-wei For country codes, see: http://www.uspto.gov/patft/help/helpctry.htm --> <!--<xsl:message><xsl:value-of select="concat('search/stemmers/',$webhelp.indexer.language,'_stemmer.js')"/></xsl:message>--> - <script type="text/javascript" src="{concat('search/stemmers/',$webhelp.indexer.language,'_stemmer.js')}"> + <script type="application/javascript" src="{concat('search/stemmers/',$webhelp.indexer.language,'_stemmer.js')}"> <xsl:comment>//make this scalable to other languages as well.</xsl:comment> </script> @@ -268,13 +268,13 @@ border: none; background: none; font-wei TODO: Generate webhelp index for largest docbook document that can be find, and analyze the file sizes. IF the file size is still around ~50KB for a given file, we should consider merging these files together. again. --> - <script type="text/javascript" src="search/index-1.js"> + <script type="application/javascript" src="search/index-1.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="search/index-2.js"> + <script type="application/javascript" src="search/index-2.js"> <xsl:comment> </xsl:comment> </script> - <script type="text/javascript" src="search/index-3.js"> + <script type="application/javascript" src="search/index-3.js"> <xsl:comment> </xsl:comment> </script> <!--End of index files --> @@ -796,7 +796,7 @@ border: none; background: none; font-wei <xsl:template match="text()" mode="webhelptoc"/> <xsl:template name="user.footer.content"> - <script type="text/javascript" src="{$webhelp.common.dir}main.js"> + <script type="application/javascript" src="{$webhelp.common.dir}main.js"> <xsl:comment> </xsl:comment> </script> </xsl:template> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/annotations.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/annotations.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/annotations.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/annotations.xsl Sat Jul 28 11:50:09 2018 @@ -7,13 +7,13 @@ <xsl:param name="scripts" select="normalize-space($annotation.js)"/> <xsl:choose> <xsl:when test="contains($scripts, ' ')"> - <script type="text/javascript" src="{substring-before($scripts, ' ')}"/> + <script type="application/javascript" src="{substring-before($scripts, ' ')}"/> <xsl:call-template name="add.annotation.links"> <xsl:with-param name="scripts" select="substring-after($scripts, ' ')"/> </xsl:call-template> </xsl:when> <xsl:otherwise> - <script type="text/javascript" src="{$scripts}"/> + <script type="application/javascript" src="{$scripts}"/> </xsl:otherwise> </xsl:choose> </xsl:template> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/docbook.xsl Sat Jul 28 11:50:09 2018 @@ -269,7 +269,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/profile-docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/profile-docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/profile-docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml-1_1/profile-docbook.xsl Sat Jul 28 11:50:09 2018 @@ -271,7 +271,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/annotations.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/annotations.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/annotations.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/annotations.xsl Sat Jul 28 11:50:09 2018 @@ -7,13 +7,13 @@ <xsl:param name="scripts" select="normalize-space($annotation.js)"/> <xsl:choose> <xsl:when test="contains($scripts, ' ')"> - <script type="text/javascript" src="{substring-before($scripts, ' ')}"/> + <script type="application/javascript" src="{substring-before($scripts, ' ')}"/> <xsl:call-template name="add.annotation.links"> <xsl:with-param name="scripts" select="substring-after($scripts, ' ')"/> </xsl:call-template> </xsl:when> <xsl:otherwise> - <script type="text/javascript" src="{$scripts}"/> + <script type="application/javascript" src="{$scripts}"/> </xsl:otherwise> </xsl:choose> </xsl:template> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/docbook.xsl Sat Jul 28 11:50:09 2018 @@ -269,7 +269,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/profile-docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/profile-docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/profile-docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml/profile-docbook.xsl Sat Jul 28 11:50:09 2018 @@ -271,7 +271,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-docbook.xsl Sat Jul 28 11:50:09 2018 @@ -272,7 +272,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-profile-docbook.xsl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-profile-docbook.xsl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-profile-docbook.xsl (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/xhtml5/xhtml-profile-docbook.xsl Sat Jul 28 11:50:09 2018 @@ -242,7 +242,7 @@ body { background-image: url('</xsl:text unnecessary bloat to each chunk. --> <xsl:if test="$annotation.support != 0 and //annotation"> <xsl:call-template name="add.annotation.links"/> - <script type="text/javascript"> + <script type="application/javascript"> <xsl:text> // Create PopupWindow objects</xsl:text> <xsl:for-each select="//annotation"> Modified: ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayAdvancedSearch.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayAdvancedSearch.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayAdvancedSearch.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayAdvancedSearch.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function selectChange(formId, elementId) { if (elementId.id == 'searchProductStoreId') { Modified: ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayExportLink.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayExportLink.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayExportLink.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebay/template/find/EbayExportLink.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> function exportToEbay() { <#if toEbayStore??> document.products.action="<@ofbizUrl>prepareProductListing</@ofbizUrl>"; Modified: ofbiz/ofbiz-plugins/trunk/ebay/template/find/ProductsExportToEbay.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebay/template/find/ProductsExportToEbay.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebay/template/find/ProductsExportToEbay.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebay/template/find/ProductsExportToEbay.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> function changeEbayCategory(categ) { document.forms["ProductsExportToEbay"].action = "<@ofbizUrl>ProductsExportToEbay?categoryCode="+categ+"</@ofbizUrl>"; @@ -240,7 +240,7 @@ under the License. </#if> </table> </form> - <script type="text/javascript"> + <script type="application/javascript"> activateSubmitButton(); </script> </div> Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/template/feedback/LeaveFeedback.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/template/feedback/LeaveFeedback.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/feedback/LeaveFeedback.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/feedback/LeaveFeedback.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> <#if results.itemsAwaitingFeedback?has_content> -<script type="text/javascript"> +<script type="application/javascript"> var active = ""; function overStar(obj){ if(obj.src.match("starActive")){ Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/EbayApiKeywordSearch.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/EbayApiKeywordSearch.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/EbayApiKeywordSearch.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/EbayApiKeywordSearch.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function selectChange(formId, elementId) { if (elementId.id == 'searchCatalogId') { Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/OrderImported.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/OrderImported.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/OrderImported.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/OrderImported.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> <!-- // function uploadTrackingCode(orderId, productStoreId) { document.uploadTracking.orderId.value = orderId; Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/ProductSearchExport.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/ProductSearchExport.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/ProductSearchExport.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/ProductSearchExport.ftl Sat Jul 28 11:50:09 2018 @@ -62,7 +62,7 @@ under the License. background-color:#FFF; } </style> -<script type="text/javascript"> +<script type="application/javascript"> function retrieveEbayCategoryByParent(url,cateId,productStoreId,id){ if (cateId.match('true')){ @@ -584,18 +584,18 @@ under the License. <td> <script src="<@ofbizContentUrl>/common/js/jquery/plugins/elrte-1.3/js/elrte.min.js</@ofbizContentUrl>" - type="text/javascript"> + type="application/javascript"> </script> <#if language?has_content && language != "en"> <script src="<@ofbizContentUrl>/common/js/jquery/plugins/elrte-1.3/js/i18n/elrte.${language!"en"}.js</@ofbizContentUrl>" - type="text/javascript"> + type="application/javascript"> </script> <#rt/> </#if> <link href="<@ofbizContentUrl>/common/js/jquery/plugins/elrte-1.3/css/elrte.min.css</@ofbizContentUrl>" rel="stylesheet" type="text/css"> - <script type="text/javascript"> + <script type="application/javascript"> var opts = { cssClass: 'el-rte', lang: '${language}', @@ -608,7 +608,7 @@ under the License. <textarea id="description" name="description" style="width:800px; height:300px"> <#if item.getDescription()??>description<#else>${item.getDescription()!}</#if> </textarea> - <script type="text/javascript"> + <script type="application/javascript"> jQuery('#description').elrte(opts); </script> </td> @@ -657,7 +657,7 @@ under the License. <tr> <td></td> <td valign="top"> - <script type="text/javascript"> + <script type="application/javascript"> function popUpImg() { //popUp(document.getElementById('themeImg').src, 'themeImgBig', '400', '550'); } Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/StoreSetting.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/StoreSetting.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/StoreSetting.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/template/store/StoreSetting.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> function countAreaChars(areaName, limit, charleft) { if (areaName.value.length > limit) { @@ -549,7 +549,7 @@ under the License. </td> </tr> </table> - <script type="text/javascript"> + <script type="application/javascript"> document.getElementById('charsleft1').innerHTML = (35 - document.StoreSettingForm.storeName.value.length) + " charactors left."; document.getElementById('charsleft2').innerHTML @@ -558,7 +558,7 @@ under the License. </fieldset> </form> </#if> -<script type="text/javascript"> +<script type="application/javascript"> <#if "Basic" == themeType!> document.StoreSettingForm.storeAdvancedTheme.disabled = true; document.StoreSettingForm.storeAdvancedThemeColor.disabled = true; Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/Login.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/Login.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/Login.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/Login.ftl Sat Jul 28 11:50:09 2018 @@ -19,7 +19,7 @@ under the License. <#assign janrainEnabled = Static["org.apache.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("ecommerce", "janrain.enabled", delegator)> <#assign appName = Static["org.apache.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("ecommerce", "janrain.appName", delegator)> <#if "Y" == janrainEnabled> -<script type="text/javascript"> +<script type="application/javascript"> (function() { if (typeof window.janrain !== 'object') window.janrain = {}; window.janrain.settings = {}; @@ -34,7 +34,7 @@ under the License. } var e = document.createElement('script'); - e.type = 'text/javascript'; + e.type = 'application/javascript'; e.id = 'janrainAuthWidget'; if (document.location.protocol === 'https:') { @@ -142,7 +142,7 @@ under the License. <div class="endcolumns"> </div> -<script type="text/javascript"> +<script type="application/javascript"> <#if autoUserLogin?has_content>document.loginform.PASSWORD.focus();</#if> <#if !autoUserLogin?has_content>document.loginform.USERNAME.focus();</#if> </script> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/RequirePasswordChange.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/RequirePasswordChange.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/RequirePasswordChange.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/RequirePasswordChange.ftl Sat Jul 28 11:50:09 2018 @@ -62,7 +62,7 @@ under the License. </div> </div> -<script type="text/javascript"> +<script type="application/javascript"> <#if autoUserLogin?has_content>document.loginform.PASSWORD.focus();</#if> <#if !autoUserLogin?has_content>document.loginform.USERNAME.focus();</#if> </script> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function removeSelected() { var cform = document.cartform; @@ -63,7 +63,7 @@ under the License. //]]> </script> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function setAlternateGwp(field) { window.location=field.value; @@ -127,7 +127,7 @@ under the License. </div> </div> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ document.quickaddform.add_product_id.focus(); //]]> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/CategoryDetail.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ specific language governing permissions and limitations under the License. --> - <script type="text/javascript"> + <script type="application/javascript"> function callDocumentByPaginate(info) { var str = info.split('~'); var checkUrl = '<@ofbizUrl>categoryAjaxFired</@ofbizUrl>'; Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl Sat Jul 28 11:50:09 2018 @@ -23,7 +23,7 @@ under the License. <#-- virtual product javascript --> ${virtualJavaScript!} -<script type="text/javascript"> +<script type="application/javascript"> <!-- var detailImageUrl = null; function setAddProductId(name) { @@ -135,7 +135,7 @@ ${virtualJavaScript!} //--> </script> -<script type="text/javascript"> +<script type="application/javascript"> <!-- jQuery(document).ready(function () { @@ -430,7 +430,7 @@ ${virtualJavaScript!} <td> <#-- Prefill first select box (virtual products only) --> <#if variantTree?? && 0 < variantTree.size()> - <script type="text/javascript">eval("list" + "${featureOrderFirst}" + "()");</script> + <script type="application/javascript">eval("list" + "${featureOrderFirst}" + "()");</script> </#if> <#-- Swatches (virtual products only) --> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/DetailImage.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/DetailImage.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/DetailImage.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/DetailImage.ftl Sat Jul 28 11:50:09 2018 @@ -22,7 +22,7 @@ under the License. <#--assign detailImage = Static["org.apache.ofbiz.base.util.Base64"].base64Decode(requestParameters.detail)--> <img src="${requestParameters.detail}" alt=""/> <#else> - <script type="text/javascript"> + <script type="application/javascript"> <!-- // window.close(); // --> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductCategories.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductCategories.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductCategories.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductCategories.ftl Sat Jul 28 11:50:09 2018 @@ -16,12 +16,12 @@ specific language governing permissions and limitations under the License. --> -<script type="text/javascript" +<script type="application/javascript" src="<@ofbizContentUrl>/common/js/jquery/plugins/jsTree/jquery.jstree.js</@ofbizContentUrl>"></script> -<script type="text/javascript" +<script type="application/javascript" src="<@ofbizContentUrl>/common/js/jquery/ui/js/jquery.cookie-1.4.0.js</@ofbizContentUrl>"></script> -<script type="text/javascript"> +<script type="application/javascript"> <#-- some labels are not unescaped in the JSON object so we have to do this manuely --> function unescapeHtmlText(text) { return jQuery('<div />').html(text).text() Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductDetail.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductDetail.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductDetail.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductDetail.ftl Sat Jul 28 11:50:09 2018 @@ -24,7 +24,7 @@ under the License. <#-- virtual product javascript --> ${virtualJavaScript!} ${virtualVariantJavaScript!} -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ var detailImageUrl = null; function setAddProductId(name) { @@ -897,7 +897,7 @@ $(function(){ </div> <#-- Prefill first select box (virtual products only) --> <#if variantTree?? && 0 < variantTree.size()> - <script type="text/javascript">eval("list" + "${featureOrderFirst}" + "()");</script> + <script type="application/javascript">eval("list" + "${featureOrderFirst}" + "()");</script> </#if> <#-- Swatches (virtual products only) --> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ProductSummary.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ under the License. --> ${virtualJavaScript!} - <script type="text/javascript"> + <script type="application/javascript"> <!-- function displayProductVirtualId(variantId, virtualProductId, pForm) { if(variantId){ Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/TellAFriend.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/TellAFriend.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/TellAFriend.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/TellAFriend.ftl Sat Jul 28 11:50:09 2018 @@ -56,7 +56,7 @@ under the License. </tr> </table> <#else> - <script type="text/javascript"> + <script type="application/javascript"> <!-- // window.close(); // --> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/AnonContactus.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/AnonContactus.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/AnonContactus.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/AnonContactus.ftl Sat Jul 28 11:50:09 2018 @@ -21,7 +21,7 @@ under the License. <div class="card-header"> <strong>${uiLabelMap.CommonContactUs}</strong> </div> - <script type="text/javascript"> + <script type="application/javascript"> <!-- function reloadCaptcha(fieldName) { var captchaUri = "<@ofbizUrl>captcha.jpg?captchaCodeId=" + fieldName + "&unique=_PLACEHOLDER_</@ofbizUrl>"; Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/MiniSignUpForContactList.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/MiniSignUpForContactList.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/MiniSignUpForContactList.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/MiniSignUpForContactList.ftl Sat Jul 28 11:50:09 2018 @@ -29,7 +29,7 @@ under the License. </select> </#macro> -<script type="text/javascript"> +<script type="application/javascript"> function unsubscribe() { var form = document.getElementById("signUpForContactListForm"); form.action = "<@ofbizUrl>unsubscribeContactListParty</@ofbizUrl>" Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/NewCustomer.ftl Sat Jul 28 11:50:09 2018 @@ -18,7 +18,7 @@ under the License. --> <#if getUsername> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ lastFocusedName = null; function setLastFocused(formElement) { @@ -479,7 +479,7 @@ button actions. <a href="javascript:document.getElementById('newuserform').submit()" class="btn btn-outline-secondary btn-sm">${uiLabelMap.CommonSave}</a> </div> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ hideShowUsaStates(); //]]> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/profile/ManageAddress.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/profile/ManageAddress.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/profile/ManageAddress.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/customer/profile/ManageAddress.ftl Sat Jul 28 11:50:09 2018 @@ -98,7 +98,7 @@ under the License. </fieldset> </form> </div> - <script type="text/javascript"> + <script type="application/javascript"> //<![CDATA[ jQuery("#displayCreateAddressForm").dialog({ autoOpen: false, modal: true, @@ -162,7 +162,7 @@ under the License. <div id="displayEditBillToPostalAddress" style="display: none;"> <#include "EditBillToAddress.ftl" /> </div> - <script type="text/javascript"> + <script type="application/javascript"> //<![CDATA[ jQuery("#displayEditBillToPostalAddress").dialog({ autoOpen: false, modal: true, @@ -222,7 +222,7 @@ under the License. <div id="displayEditShipToPostalAddress" style="display: none;"> <#include "EditShipToAddress.ftl" /> </div> - <script type="text/javascript"> + <script type="application/javascript"> //<![CDATA[ jQuery("#displayEditShipToPostalAddress").dialog({ autoOpen: false, modal: true, @@ -302,7 +302,7 @@ under the License. </fieldset> </form> </div> - <script type="text/javascript"> + <script type="application/javascript"> //<![CDATA[ jQuery("#displayEditAddressForm_${contactMech.contactMechId}").dialog({ autoOpen: false, modal: true, Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/includes/HeaderHead.ftl Sat Jul 28 11:50:09 2018 @@ -73,7 +73,7 @@ under the License. </#if> <#if layoutSettings.VT_HDR_JAVASCRIPT?has_content> <#list layoutSettings.VT_HDR_JAVASCRIPT as javaScript> - <script type="text/javascript" + <script type="application/javascript" src="<@ofbizContentUrl>${StringUtil.wrapString(javaScript)}</@ofbizContentUrl>"></script> </#list> </#if> @@ -84,7 +84,7 @@ under the License. <#list layoutSettings.javaScripts as javaScript> <#if javaScriptsSet.contains(javaScript)> <#assign nothing = javaScriptsSet.remove(javaScript)/> - <script type="text/javascript" + <script type="application/javascript" src="<@ofbizContentUrl>${StringUtil.wrapString(javaScript)}</@ofbizContentUrl>"></script> </#if> </#list> @@ -105,7 +105,7 @@ under the License. <meta name="keywords" content="${metaKeywords}"/> </#if> <#if webAnalyticsConfigs?has_content> - <script type="text/javascript"> + <script type="application/javascript"> <#list webAnalyticsConfigs as webAnalyticsConfig> <#if webAnalyticsConfig.webAnalyticsTypeId != "BACKEND_ANALYTICS"> ${StringUtil.wrapString(webAnalyticsConfig.webAnalyticsCode!)} Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/AnonymousCheckoutLinks.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/AnonymousCheckoutLinks.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/AnonymousCheckoutLinks.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/AnonymousCheckoutLinks.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> function submitForm(form) { form.submit(); } Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/BillSettings.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/BillSettings.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/BillSettings.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/BillSettings.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> function shipBillAddr() { <#if "Y" == requestParameters.singleUsePayment?default("N")> <#assign singleUse = "&singleUsePayment=Y"> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutOptions.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutOptions.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutOptions.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutOptions.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function submitForm(form, mode, value) { if ("DN" == mode) { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutPayment.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutPayment.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutPayment.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutPayment.ftl Sat Jul 28 11:50:09 2018 @@ -19,7 +19,7 @@ under the License. <!-- TODO : Need formatting --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function submitForm(form, mode, value) { if ("DN" == mode) { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutReview.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutReview.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutReview.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutReview.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> <!-- var clicked = 0; function processOrder() { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingAddress.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingAddress.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingAddress.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingAddress.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function submitForm(form, mode, value) { if ("DN" == mode) { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingOptions.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingOptions.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingOptions.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/CheckoutShippingOptions.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function submitForm(form, mode, value) { if ("DN" == mode) { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/PaymentInformation.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/PaymentInformation.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/PaymentInformation.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/PaymentInformation.ftl Sat Jul 28 11:50:09 2018 @@ -19,7 +19,7 @@ under the License. <#if requestParameters.paymentMethodTypeId?has_content> <#assign paymentMethodTypeId = "${requestParameters.paymentMethodTypeId!}"> </#if> -<script type="text/javascript"> +<script type="application/javascript"> function shipBillAddr() { <#if "Y" == requestParameters.singleUsePayment?default("N")> <#assign singleUse = "&singleUsePayment=Y"> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutLinks.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutLinks.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutLinks.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutLinks.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> function submitForm(form) { form.submit(); } Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutReview.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutReview.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutReview.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonCheckoutReview.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> <!-- var clicked = 0; function processOrder() { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonOptionSettings.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonOptionSettings.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonOptionSettings.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonOptionSettings.ftl Sat Jul 28 11:50:09 2018 @@ -16,7 +16,7 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> jQuery(document).ready(init); Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonPaymentInformation.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonPaymentInformation.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonPaymentInformation.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/QuickAnonPaymentInformation.ftl Sat Jul 28 11:50:09 2018 @@ -19,7 +19,7 @@ under the License. <#if requestParameters.paymentMethodTypeId?has_content> <#assign paymentMethodTypeId = "${requestParameters.paymentMethodTypeId!}"> </#if> -<script type="text/javascript"> +<script type="application/javascript"> jQuery(document).ready(init); Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/SplitShip.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/SplitShip.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/SplitShip.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/order/SplitShip.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ function submitForm(form, mode, value) { if ("DN" == mode) { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/shoppinglist/EditShoppingList.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/shoppinglist/EditShoppingList.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/shoppinglist/EditShoppingList.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/shoppinglist/EditShoppingList.ftl Sat Jul 28 11:50:09 2018 @@ -17,7 +17,7 @@ specific language governing permissions under the License. --> -<script type="text/javascript"> +<script type="application/javascript"> //<![CDATA[ <!-- function to add extra info for Timestamp format --> function TimestampSubmit(obj) { Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/error/404.jsp URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/error/404.jsp?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/error/404.jsp (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/error/404.jsp Sat Jul 28 11:50:09 2018 @@ -31,7 +31,7 @@ List<GenericValue> webAnalytics = delega <head> <title>Error 404</title> <%if (webAnalytics != null) {%> -<script type="text/javascript"> +<script type="application/javascript"> <%for (GenericValue webAnalytic : webAnalytics) {%> <%=StringUtil.wrapString((String) webAnalytic.get("webAnalyticsCode"))%> <%}%> Modified: ofbiz/ofbiz-plugins/trunk/multiflex/template/Footer.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/multiflex/template/Footer.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/multiflex/template/Footer.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/multiflex/template/Footer.ftl Sat Jul 28 11:50:09 2018 @@ -26,7 +26,7 @@ under the License. </p> <#if layoutSettings.VT_FTR_JAVASCRIPT?has_content> <#list layoutSettings.VT_FTR_JAVASCRIPT as javaScript> - <script type="text/javascript" src="<@ofbizContentUrl>${StringUtil.wrapString(javaScript)}</@ofbizContentUrl>" type="text/javascript"></script> + <script type="application/javascript" src="<@ofbizContentUrl>${StringUtil.wrapString(javaScript)}</@ofbizContentUrl>" type="application/javascript"></script> </#list> </#if> </div> Modified: ofbiz/ofbiz-plugins/trunk/myportal/template/Login.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/myportal/template/Login.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/myportal/template/Login.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/myportal/template/Login.ftl Sat Jul 28 11:50:09 2018 @@ -67,7 +67,7 @@ under the License. </div> </center> -<script type="text/javascript"> +<script type="application/javascript"> document.loginform.JavaScriptEnabled.value = "Y"; <#if focusName> document.loginform.USERNAME.focus(); Modified: ofbiz/ofbiz-plugins/trunk/myportal/template/RegisterPerson.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/myportal/template/RegisterPerson.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/myportal/template/RegisterPerson.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/myportal/template/RegisterPerson.ftl Sat Jul 28 11:50:09 2018 @@ -98,7 +98,7 @@ under the License. <td class="label"> Code Captcha </td> <td><div><img id="captchaImage" src="<@ofbizUrl>captcha.jpg?captchaCodeId=captchaImage&unique=${nowTimestamp.getTime()}</@ofbizUrl>" alt="" /></div></td> </tr> - <script type="text/javascript"> + <script type="application/javascript"> <!-- function reloadCaptcha(fieldName) { var captchaUri = "<@ofbizUrl>captcha.jpg?captchaCodeId=" + fieldName + "&unique=_PLACEHOLDER_</@ofbizUrl>"; Modified: ofbiz/ofbiz-plugins/trunk/pricat/src/main/java/org/apache/ofbiz/htmlreport/HtmlReport.java URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/pricat/src/main/java/org/apache/ofbiz/htmlreport/HtmlReport.java?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/pricat/src/main/java/org/apache/ofbiz/htmlreport/HtmlReport.java (original) +++ ofbiz/ofbiz-plugins/trunk/pricat/src/main/java/org/apache/ofbiz/htmlreport/HtmlReport.java Sat Jul 28 11:50:09 2018 @@ -531,7 +531,7 @@ public class HtmlReport extends Abstract result.append("<link rel=\"stylesheet\" type=\"text/css\" href=\""); result.append("/pricat/includes/pricat.css"); result.append("\">\n"); - result.append("<script type=\"text/javascript\">\n"); + result.append("<script type=\"application/javascript\">\n"); result.append(dialogScriptSubmit()); result.append("</script>\n"); } Modified: ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/ExcelImportHistoryReport.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/ExcelImportHistoryReport.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/ExcelImportHistoryReport.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/ExcelImportHistoryReport.ftl Sat Jul 28 11:50:09 2018 @@ -98,7 +98,7 @@ under the License. </#if> </tbody> </table> -<script type="text/javascript"> +<script type="application/javascript"> function viewExcelImportLog(sequenceNum) { document.location = "<@ofbizUrl>viewExcelImportLog</@ofbizUrl>?sequenceNum=" + sequenceNum; } Modified: ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/pricatreport.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/pricatreport.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/pricatreport.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/pricatreport.ftl Sat Jul 28 11:50:09 2018 @@ -141,7 +141,7 @@ function continueReport() { ${StringUtil.wrapString(report.htmlStart())} -<script type="text/javascript"> +<script type="application/javascript"> <!-- // saves the HTML of the extended report format, Modified: ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/report.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/report.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/report.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/pricat/template/pricat/report.ftl Sat Jul 28 11:50:09 2018 @@ -141,7 +141,7 @@ function continueReport() { ${StringUtil.wrapString(report.htmlStart())} -<script type="text/javascript"> +<script type="application/javascript"> <!-- // saves the HTML of the extended report format, Modified: ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/GanttChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/GanttChart.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/GanttChart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/GanttChart.ftl Sat Jul 28 11:50:09 2018 @@ -19,7 +19,7 @@ under the License. --> <div style="position:relative" class="gantt" id="GanttChartDIV"></div> -<script type="text/javascript"> +<script type="application/javascript"> var g = new JSGantt.GanttChart('g',document.getElementById('GanttChartDIV'), 'day'); g.setShowRes(1); // Show/Hide Responsible (0/1) Modified: ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BacklogByStatusChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BacklogByStatusChart.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BacklogByStatusChart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BacklogByStatusChart.ftl Sat Jul 28 11:50:09 2018 @@ -20,7 +20,7 @@ under the License. <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> </div> <form id="form_birtReport" method="post"></form> -<script type="text/javascript"> +<script type="application/javascript"> function loadViewerbirtReport(){ var formObj = document.getElementById( "form_birtReport" ); var paramContainer = document.getElementById("params_birtReport"); @@ -41,4 +41,4 @@ under the License. } </script> <iframe name="birtReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> -<script type="text/javascript">loadViewerbirtReport();</script> +<script type="application/javascript">loadViewerbirtReport();</script> Modified: ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BacklogByTypeChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BacklogByTypeChart.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BacklogByTypeChart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BacklogByTypeChart.ftl Sat Jul 28 11:50:09 2018 @@ -20,7 +20,7 @@ under the License. <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> </div> <form id="form_byTypeReport" method="post"></form> -<script type="text/javascript"> +<script type="application/javascript"> function loadViewerByTypeReport(){ var formObj = document.getElementById( "form_byTypeReport" ); var paramContainer = document.getElementById("params_byTypeReport"); @@ -41,4 +41,4 @@ under the License. } </script> <iframe name="byTypeReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> -<script type="text/javascript">loadViewerByTypeReport();</script> +<script type="application/javascript">loadViewerByTypeReport();</script> Modified: ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BurnDown.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BurnDown.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BurnDown.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/template/includes/BurnDown.ftl Sat Jul 28 11:50:09 2018 @@ -34,7 +34,7 @@ under the License. <INPUT type="HIDDEN" name="maxHours" value="${maxHours!}"/> </div> <form id="form_birtReport" method="post"></form> - <script type="text/javascript"> + <script type="application/javascript"> function loadViewerbirtReport(){ var formObj = document.getElementById( "form_birtReport" ); var paramContainer = document.getElementById("params_birtReport"); @@ -57,5 +57,5 @@ under the License. </script> <iframe name="birtReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> - <script type="text/javascript">loadViewerbirtReport();</script> + <script type="application/javascript">loadViewerbirtReport();</script> </#if> Modified: ofbiz/ofbiz-plugins/trunk/scrum/template/includes/PieChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/template/includes/PieChart.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/template/includes/PieChart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/template/includes/PieChart.ftl Sat Jul 28 11:50:09 2018 @@ -20,7 +20,7 @@ under the License. <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> </div> <form id="form_birtReport" method="post"></form> - <script type="text/javascript"> + <script type="application/javascript"> function loadViewerbirtReport(){ var formObj = document.getElementById( "form_birtReport" ); var paramContainer = document.getElementById("params_birtReport"); @@ -44,4 +44,4 @@ under the License. </script> <iframe name="birtReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> - <script type="text/javascript">loadViewerbirtReport();</script> \ No newline at end of file + <script type="application/javascript">loadViewerbirtReport();</script> \ No newline at end of file Modified: ofbiz/ofbiz-plugins/trunk/scrum/template/includes/ProjectAndSprintChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/template/includes/ProjectAndSprintChart.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/template/includes/ProjectAndSprintChart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/template/includes/ProjectAndSprintChart.ftl Sat Jul 28 11:50:09 2018 @@ -20,7 +20,7 @@ under the License. <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> </div> <form id="form_projectSprintReport" method="post"></form> -<script type="text/javascript"> +<script type="application/javascript"> function loadViewerProjectSprintReport(){ var formObj = document.getElementById( "form_projectSprintReport" ); var paramContainer = document.getElementById("params_projectSprintReport"); @@ -41,4 +41,4 @@ under the License. } </script> <iframe name="projectSprintReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> -<script type="text/javascript">loadViewerProjectSprintReport();</script> +<script type="application/javascript">loadViewerProjectSprintReport();</script> Modified: ofbiz/ofbiz-plugins/trunk/scrum/template/includes/ProjectByStatusChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/template/includes/ProjectByStatusChart.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/template/includes/ProjectByStatusChart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/template/includes/ProjectByStatusChart.ftl Sat Jul 28 11:50:09 2018 @@ -20,7 +20,7 @@ under the License. <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> </div> <form id="form_projectReport" method="post"></form> -<script type="text/javascript"> +<script type="application/javascript"> function loadViewerProjectReport(){ var formObj = document.getElementById( "form_projectReport" ); var paramContainer = document.getElementById("params_projectReport"); @@ -41,4 +41,4 @@ under the License. } </script> <iframe name="projectReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;' ></iframe> -<script type="text/javascript">loadViewerProjectReport();</script> +<script type="application/javascript">loadViewerProjectReport();</script> Modified: ofbiz/ofbiz-plugins/trunk/scrum/template/includes/TaskByStatusChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/template/includes/TaskByStatusChart.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/template/includes/TaskByStatusChart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/template/includes/TaskByStatusChart.ftl Sat Jul 28 11:50:09 2018 @@ -20,7 +20,7 @@ under the License. <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> </div> <form id="form_taskByStatusReport" method="post"></form> -<script type="text/javascript"> +<script type="application/javascript"> function loadViewertaskReport(){ var formObj = document.getElementById( "form_taskByStatusReport" ); var paramContainer = document.getElementById("params_taskByStatusReport"); @@ -40,4 +40,4 @@ under the License. } </script> <iframe name="taskByStatusReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;'></iframe> -<script type="text/javascript">loadViewertaskReport();</script> +<script type="application/javascript">loadViewertaskReport();</script> Modified: ofbiz/ofbiz-plugins/trunk/scrum/template/includes/TaskByTypeChart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/template/includes/TaskByTypeChart.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/template/includes/TaskByTypeChart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/template/includes/TaskByTypeChart.ftl Sat Jul 28 11:50:09 2018 @@ -20,7 +20,7 @@ under the License. <INPUT type="HIDDEN" name="productId" value="${product.productId}"/> </div> <form id="form_taskByTypeReport" method="post"></form> -<script type="text/javascript"> +<script type="application/javascript"> function loadViewertaskReport(){ var formObj = document.getElementById( "form_taskByTypeReport" ); var paramContainer = document.getElementById("params_taskByTypeReport"); @@ -40,5 +40,5 @@ under the License. } </script> <iframe name="taskByTypeReport" frameborder="no" scrolling = "auto" style='height:350px;width:100%;'></iframe> -<script type="text/javascript">loadViewertaskReport();</script> +<script type="application/javascript">loadViewertaskReport();</script> \ No newline at end of file Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/Login.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/Login.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/Login.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/Login.ftl Sat Jul 28 11:50:09 2018 @@ -72,7 +72,7 @@ under the License. </div> </center> -<script type="text/javascript"> +<script type="application/javascript"> document.loginform.JavaScriptEnabled.value = "Y"; <#if focusName> document.loginform.USERNAME.focus(); Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/RequirePasswordChange.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/RequirePasswordChange.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/RequirePasswordChange.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/RequirePasswordChange.ftl Sat Jul 28 11:50:09 2018 @@ -57,7 +57,7 @@ under the License. </div> </div> -<script type="text/javascript"> +<script type="application/javascript"> <#if autoUserLogin?has_content>document.loginform.PASSWORD.focus();</#if> <#if !autoUserLogin?has_content>document.loginform.USERNAME.focus();</#if> </script> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCart.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCart.ftl Sat Jul 28 11:50:09 2018 @@ -145,6 +145,6 @@ under the License. </#if> </table> </div> -<script type="text/javascript"> +<script type="application/javascript"> selectCartItem(); </script> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCartItemSelected.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCartItemSelected.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCartItemSelected.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/cart/ShowCartItemSelected.ftl Sat Jul 28 11:50:09 2018 @@ -67,7 +67,7 @@ under the License. <a id="updateCartItem" name="updateCartItem" href="javascript:updateCartItem();" class="buttontext">${uiLabelMap.CommonUpdate}</a> <a id="deleteCartItem" name="deleteCartItem" href="javascript:deleteCartItem('${cartLineIndex}');" class="buttontext">${uiLabelMap.CommonDelete}</a> </div> - <script type="text/javascript"> + <script type="application/javascript"> cartItemSelectedEvents('${focusOnQuantity}'); </script> </#if> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/catalog/CategoryDetail.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/catalog/CategoryDetail.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/catalog/CategoryDetail.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/catalog/CategoryDetail.ftl Sat Jul 28 11:50:09 2018 @@ -62,7 +62,7 @@ under the License. </tr> </#if> </table> -<script type="text/javascript"> +<script type="application/javascript"> showSelectedButton(); </script> </#if> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/includes/Header.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/includes/Header.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/includes/Header.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/includes/Header.ftl Sat Jul 28 11:50:09 2018 @@ -28,7 +28,7 @@ under the License. <#if layoutSettings.javaScripts?has_content> <#--layoutSettings.javaScripts is a list of java scripts. --> <#list layoutSettings.javaScripts as javaScript> - <script src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="text/javascript"></script> + <script src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="application/javascript"></script> </#list> </#if> <#if layoutSettings.styleSheets?has_content> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/search/CustomerAddress.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/search/CustomerAddress.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/search/CustomerAddress.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/search/CustomerAddress.ftl Sat Jul 28 11:50:09 2018 @@ -116,6 +116,6 @@ under the License. </div> </div> </div> -<script type="text/javascript"> +<script type="application/javascript"> customerAddressSelected(); </script> Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchParties.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchParties.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchParties.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchParties.ftl Sat Jul 28 11:50:09 2018 @@ -29,6 +29,6 @@ under the License. <input type="submit" value="${uiLabelMap.CommonSearch}" id="partySearchConfirm"/> <br/> </div> -<script type="text/javascript"> +<script type="application/javascript"> partyKeyEvents(); </script> \ No newline at end of file Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchProducts.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchProducts.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchProducts.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/search/SearchProducts.ftl Sat Jul 28 11:50:09 2018 @@ -34,6 +34,6 @@ under the License. </div> </form> <br /> -<script type="text/javascript"> +<script type="application/javascript"> document.SearchProducts.productToSearch.focus(); </script> \ No newline at end of file Modified: ofbiz/ofbiz-plugins/trunk/webpos/template/shortcuts/Shortcuts.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/template/shortcuts/Shortcuts.ftl?rev=1836889&r1=1836888&r2=1836889&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/template/shortcuts/Shortcuts.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/template/shortcuts/Shortcuts.ftl Sat Jul 28 11:50:09 2018 @@ -26,7 +26,7 @@ under the License. </td> </tr> </table> -<script type="text/javascript"> +<script type="application/javascript"> function activateHotKeys() { $(document).keydown(function(e){ switch (e.keyCode) { |
Free forum by Nabble | Edit this page |