Loading ...
Sorry, an error occurred while loading the content.

Java Script Problems with RTE

Expand Messages
  • VenkataRaghavan
    I am having issues when rendering RTE.
    Message 1 of 3 , Sep 27 2:56 PM
    • 0 Attachment
      I am having issues when rendering RTE.

      <script type="text/javascript"
      src="../js/yui_2.3.1/yui/build/yahoo-dom-event/yahoo-dom-event.js"></script>
      <script type="text/javascript"
      src="../js/yui_2.3.1/yui/build/element/element-beta-min.js"></script>

      <script type="text/javascript"
      src="../js/yui_2.3.1/yui/build/container/container-min.js"></script>
      <script type="text/javascript"
      src="../js/yui_2.3.1/yui/build/menu/menu-min.js"></script>
      <script type="text/javascript"
      src="../js/yui_2.3.1/yui/build/button/button-beta.js"></script>
      <script type="text/javascript"
      src="../js/yui_2.3.1/yui/build/editor/editor-beta.js"></script>

      <script type="text/javascript"
      src="../js/yui_2.3.1/yui/build/connection/connection-min.js"></script>
      <script type="text/javascript"
      src="../js/yui_2.3.1/yui/build/utilities/utilities.js"></script>

      The JS ERROR I am getting is as follow:

      destination has no properties
      [Break on this error] destination[property] = cache.findOrStore(value);
      prototype.js (line 1869)
      _buttons[i].buttons has no properties
      [Break on this error] for (var m = 0; m < _buttons[i].buttons.length;
      m++) {
    • dav.glass@yahoo.com
      VenkataRaghavan -- This appears to be a conflict with prototype.js, can you remove it from the page and try again? If that fixes the issue, please follow the
      Message 2 of 3 , Sep 27 3:44 PM
      • 0 Attachment
        VenkataRaghavan --

        This appears to be a conflict with prototype.js, can you remove it from the page and try again?

        If that fixes the issue, please follow the link below to file a bug. Please include the version of prototype.js that you are using.
        http://developer.yahoo.com/yui/editor/#filingbugs

        I have tested the latest version of prototype & I see that it breaks, but at a different line number and for a different reason..
        You can move prototype.js below the YUI includes and the Editor will render properly..

        Hope that helps :)

        Dav
         
        Dav Glass
        dav.glass@...
        blog.davglass.com
         
         
        + Windows: n. - The most successful computer virus, ever. +
        + A computer without a Microsoft operating system is like a dog
        without bricks tied to its head +
        + A Microsoft Certified Systems Engineer is to computing what a
        McDonalds Certified Food Specialist is to fine cuisine +


        ----- Original Message ----
        From: VenkataRaghavan <sonadon19@...>
        To: ydn-javascript@yahoogroups.com
        Sent: Thursday, September 27, 2007 2:56:35 PM
        Subject: [ydn-javascript] Java Script Problems with RTE

        I am having issues when rendering RTE.

        <script type="text/javascri pt"
        src="../js/yui_ 2.3.1/yui/ build/yahoo- dom-event/ yahoo-dom- event.js" ></script>
        <script type="text/javascri pt"
        src="../js/yui_ 2.3.1/yui/ build/element/ element-beta- min.js">< /script>

        <script type="text/javascri pt"
        src="../js/yui_ 2.3.1/yui/ build/container/ container- min.js">< /script>
        <script type="text/javascri pt"
        src="../js/yui_ 2.3.1/yui/ build/menu/ menu-min. js"></script>
        <script type="text/javascri pt"
        src="../js/yui_ 2.3.1/yui/ build/button/ button-beta. js"></script>
        <script type="text/javascri pt"
        src="../js/yui_ 2.3.1/yui/ build/editor/ editor-beta. js"></script>

        <script type="text/javascri pt"
        src="../js/yui_ 2.3.1/yui/ build/connection /connection- min.js">< /script>
        <script type="text/javascri pt"
        src="../js/yui_ 2.3.1/yui/ build/utilities/ utilities. js"></script>

        The JS ERROR I am getting is as follow:

        destination has no properties
        [Break on this error] destination[ property] = cache.findOrStore( value);
        prototype.js (line 1869)
        _buttons[i]. buttons has no properties
        [Break on this error] for (var m = 0; m < _buttons[i]. buttons.length;
        m++) {


      • dav.glass@yahoo.com
        VenkataRaghavan -- Can you provide a link to the broken page? I will be easier to help if I can see it.. I tested it again over the weekend & it wasn t the
        Message 3 of 3 , Oct 1, 2007
        • 0 Attachment
          VenkataRaghavan --

          Can you provide a link to the broken page? I will be easier to help if I can see it..

          I tested it again over the weekend & it wasn't the Editor that was giving my error's. It was another script on that page..

          This page is running Editor 2.3.1 with Prototype 1.5.1.1:
          http://blog.davglass.com/files/yui/editor15/
           
          Dav

          Dav Glass
          dav.glass@...
          blog.davglass.com
           
           
          + Windows: n. - The most successful computer virus, ever. +
          + A computer without a Microsoft operating system is like a dog
          without bricks tied to its head +
          + A Microsoft Certified Systems Engineer is to computing what a
          McDonalds Certified Food Specialist is to fine cuisine +


          ----- Original Message ----
          From: VenkataRaghavan <sonadon19@...>
          To: ydn-javascript@yahoogroups.com
          Sent: Thursday, September 27, 2007 2:56:35 PM
          Subject: [ydn-javascript] Java Script Problems with RTE

          I am having issues when rendering RTE.

          <script type="text/javascri pt"
          src="../js/yui_ 2.3.1/yui/ build/yahoo- dom-event/ yahoo-dom- event.js" ></script>
          <script type="text/javascri pt"
          src="../js/yui_ 2.3.1/yui/ build/element/ element-beta- min.js">< /script>

          <script type="text/javascri pt"
          src="../js/yui_ 2.3.1/yui/ build/container/ container- min.js">< /script>
          <script type="text/javascri pt"
          src="../js/yui_ 2.3.1/yui/ build/menu/ menu-min. js"></script>
          <script type="text/javascri pt"
          src="../js/yui_ 2.3.1/yui/ build/button/ button-beta. js"></script>
          <script type="text/javascri pt"
          src="../js/yui_ 2.3.1/yui/ build/editor/ editor-beta. js"></script>

          <script type="text/javascri pt"
          src="../js/yui_ 2.3.1/yui/ build/connection /connection- min.js">< /script>
          <script type="text/javascri pt"
          src="../js/yui_ 2.3.1/yui/ build/utilities/ utilities. js"></script>

          The JS ERROR I am getting is as follow:

          destination has no properties
          [Break on this error] destination[ property] = cache.findOrStore( value);
          prototype.js (line 1869)
          _buttons[i]. buttons has no properties
          [Break on this error] for (var m = 0; m < _buttons[i]. buttons.length;
          m++) {


        Your message has been successfully submitted and would be delivered to recipients shortly.