Author: sdzmitrovich
Date: 2009-04-04 05:01:25 -0400 (Sat, 04 Apr 2009)
New Revision: 14509
Modified:
branches/jbosstools-3.0.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4084
Modified:
branches/jbosstools-3.0.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java
===================================================================
---
branches/jbosstools-3.0.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java 2009-04-03
22:03:06 UTC (rev 14508)
+++
branches/jbosstools-3.0.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java 2009-04-04
09:01:25 UTC (rev 14509)
@@ -373,6 +373,9 @@
}
});
if (dlg.open() == Window.OK) {
+ if (classNameStatus.matches(IStatus.ERROR))
+ classNameStatus = new Status(IStatus.OK, notUsed, 0,
+ JstUIMessages.CSS_STYLE_CLASS_EDITOR_DESCRIPTION, null);
addNewStyleClass(dlg.getValue().trim());
}
}