Author: dvinnichek
Date: 2011-02-07 09:36:36 -0500 (Mon, 07 Feb 2011)
New Revision: 29049
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java
Log:
fixed Inline Style Edit Dialog availability for some html pages
(
https://issues.jboss.org/browse/JBIDE-8229)
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java 2011-02-07
14:25:37 UTC (rev 29048)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java 2011-02-07
14:36:36 UTC (rev 29049)
@@ -182,7 +182,7 @@
private static final IComponent[] EMPTY_ARRAY = new IComponent[0];
protected IComponent[] getComponentsByPrefixes(KbQuery query, List<String>
prefixes, IPageContext context) {
- if(prefixes==null) {
+ if(prefixes == null || prefixes.isEmpty()) {
return getComponents(query, null, context);
}
if(prefixes.size()==0) {