facebook

Topic preview forwards me to /index.php

  1. MyEclipse Archived
  2.  > 
  3. Comments
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #202512 Reply

    b0rg
    Member

    Hi,

    while starting a new topic in “MyEclipse Forum Index » MyEclipse Enterprise Workbench » Bug Reports and Fixes”, I’ve observed that the _content_ of the message ‘JSP editor: JavaScript “<” and formatting’ can _not_ be previewed, the browser jumps to http://myeclipseide.com/index.php, regardless of the subject. I tried it 4-5 times, it happened even when editing the already submitting message.

    Other test messages I tried were previewed ok, so I suppose it has something to do with the quoted HTML tags in that special message ‘JSP editor: JavaScript “<” and formatting’ .

    b0rg

    #202516 Reply

    b0rg
    Member

    PS
    ==

    Of course, my browser: Mozilla 1.5, WinXP. The JavaScript Console doesn’t show any JavaScript warnings or errors.

    I also tried with IE 6, having the same result.

    b0rg

    #202544 Reply

    Scott Anderson
    Participant

    b0rg,

    You’re right, Preview won’t work on text containing code blocks for some reason. Fortunately, it can be sumbitted and posted just fine, as shown below. The workaround is simply to skip the preview, and be sure you’ve proofread everything. 🙂

    
        58  <html>
        59      <head>
        60          <link rel=\"stylesheet\" type=\"text/css\" href=\"common/global.css\">
        61          <script language=\"JavaScript\" src=\"common/common.js\">
        62          </script>
        63          <script language=\"Javascript\">
        64              function test()
        65          {
        66              var int i = 0, j = 0;
        67              for (i = 0; i < 10; ++i) {
        68                  j += i;
        69              }
        70              }
        71          </script>
    
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Topic preview forwards me to /index.php

You must be logged in to post in the forum log in