[jbosstools-issues] [JBoss JIRA] (JBIDE-13787) Palette marks editor "changed" when there is nothing to insert
Daniel Azarov (JIRA)
jira-events at lists.jboss.org
Wed Mar 13 13:10:42 EDT 2013
Daniel Azarov created JBIDE-13787:
-------------------------------------
Summary: Palette marks editor "changed" when there is nothing to insert
Key: JBIDE-13787
URL: https://issues.jboss.org/browse/JBIDE-13787
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml/html source editing
Affects Versions: 4.1.0.Alpha1
Reporter: Daniel Azarov
Assignee: Daniel Azarov
Fix For: 4.1.0.Alpha2
Test case:
EXECUTE:
1. Create Java Project "test"
2. Create folder "test" in test project
3. Create file "test.html" in test folder
{code}
<!DOCTYPE html>
{code}
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:
{code}
<!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>
{code}
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list