[Laszlo-checkins] r10112 - in openlaszlo/trunk/lps/components: extensions/views incubator/rich-text

max@openlaszlo.org max at openlaszlo.org
Sat Jun 28 08:37:14 PDT 2008


Author: max
Date: 2008-06-28 08:37:13 -0700 (Sat, 28 Jun 2008)
New Revision: 10112

Modified:
   openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx
   openlaszlo/trunk/lps/components/incubator/rich-text/richtexteditor.lzx
Log:
+ Back our r10097 - except for the change to use the sprites to forcescrollattrs

Modified: openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx
===================================================================
--- openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx	2008-06-28 13:35:58 UTC (rev 10111)
+++ openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx	2008-06-28 15:37:13 UTC (rev 10112)
@@ -2,19 +2,6 @@
 
 <include href="LzTextFormat.lzx" />
 
-<switch>
-  <when runtime="dhtml">
-    <class name="richinputtext" extends="inputtext">
-      <handler name="oninit">
-        this.setText("The dhtml runtime does not support richinputtext.");
-        if ($debug) {
-            Debug.warn("The dhtml runtime does not support richinputtext");
-        }
-      </handler>
-    </class>
-  </when>
-  <otherwise>
-
 <!-- This component deals with displaying, editing, and formatting rich text.
     It is a subclass of inputtext, and supports the inputtext API, plus
     several methods for setting and getting the format of the text. Formats
@@ -331,12 +318,8 @@
   }
 }
 ]]>
-
 </script>
 
-  </otherwise>    
-</switch>
-
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
 * Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *

Modified: openlaszlo/trunk/lps/components/incubator/rich-text/richtexteditor.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/rich-text/richtexteditor.lzx	2008-06-28 13:35:58 UTC (rev 10111)
+++ openlaszlo/trunk/lps/components/incubator/rich-text/richtexteditor.lzx	2008-06-28 15:37:13 UTC (rev 10112)
@@ -3,20 +3,6 @@
       @subtopic Rich Text Editor
   -->
 <library>
-
-<switch>
-  <when runtime="dhtml">
-    <class name="richtexteditor">
-      <text>The dhtml runtime does not support richtexteditor</text>
-      <handler name="oninit">
-        if ($debug) {
-            Debug.warn("The dhtml runtime does not support richtexteditor");
-        }
-      </handler>
-    </class>
-  </when>
-  <otherwise>
-
 <include href="../shadowbox.lzx"/>
 <include href="../custombutton.lzx"/>
 <include href="../baseedittext.lzx"/>
@@ -117,10 +103,6 @@
     </shadowbox>
     
 </class>
-
-  </otherwise>    
-</switch>
-
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
 * Copyright 2007-2008 Laszlo Systems, Inc. All Rights Reserved.                    *



More information about the Laszlo-checkins mailing list