svn commit: r1819046 - in /ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook: highlighting/myxml-hl.xml slides/browser/xbDOM.js

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1819046 - in /ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook: highlighting/myxml-hl.xml slides/browser/xbDOM.js

jleroux@apache.org
Author: jleroux
Date: Fri Dec 22 15:26:59 2017
New Revision: 1819046

URL: http://svn.apache.org/viewvc?rev=1819046&view=rev
Log:
Completed: Remove applet concept in OFBiz
(OFBIZ-10094)

Completes r1818646, these should not have changed (not OFBiz code)

Modified:
    ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/highlighting/myxml-hl.xml
    ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/xbDOM.js

Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/highlighting/myxml-hl.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/highlighting/myxml-hl.xml?rev=1819046&r1=1819045&r2=1819046&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/highlighting/myxml-hl.xml (original)
+++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/highlighting/myxml-hl.xml Fri Dec 22 15:26:59 2017
@@ -17,6 +17,7 @@
     <element>ABBR</element>
     <element>ACRONYM</element>
     <element>ADDRESS</element>
+    <element>APPLET</element>
     <element>AREA</element>
     <element>B</element>
     <element>BASE</element>

Modified: ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/xbDOM.js
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/xbDOM.js?rev=1819046&r1=1819045&r2=1819046&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/xbDOM.js (original)
+++ ofbiz/ofbiz-plugins/trunk/cmssite/template/docbook/slides/browser/xbDOM.js Fri Dec 22 15:26:59 2017
@@ -181,6 +181,14 @@ if (document.layers)
       }
     }
 
+    for (i = 0; i < doc.applets.length; ++i)
+    {
+      if (doc.applets[i].name && name == doc.applets[i].name)
+      {
+        elmlist[elmlist.length] = doc.applets[i];
+      }
+    }
+
     for (i = 0; i < doc.embeds.length; ++i)
     {
       if (doc.embeds[i].name && name == doc.embeds[i].name)