Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13787

Palette marks editor "changed" when there is nothing to insert

XMLWordPrintable

      Test case:

      EXECUTE:
      1. Create Java Project "test"
      2. Create folder "test" in test project
      3. Create file "test.html" in test folder

      <!DOCTYPE html>
      

      4. Open file test.html in Visual Page Editor
      ASSERT: Visual Page Editor appears with test.html and jQuery Mobile Widget Palette on the right side

      5. Press mouse on "JS/CSS" palette element
      ASSERT: test.html is changed:

      <!DOCTYPE html>
      <html>
        <head>
          <meta name="viewport" content="width=device-width, initial-scale=1">
          <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" />
          <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
          <script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script>
        </head>
        <body>
      
        </body>
      </html>
      

      6. Save the file and Press mouse on "JS/CSS" palette element again

      FAIL: test.html is not changed but editor marked as "changed" - "*test.html" in the editor title

            dazarov_jira Daniel Azarov (Inactive)
            dazarov_jira Daniel Azarov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: