Changeset 3559 for trunk/www/common/plugin/index.jsp
- Timestamp:
- Jul 16, 2007, 9:55:14 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/common/plugin/index.jsp
r3536 r3559 184 184 int i = 0; 185 185 PluginDefinition thePlugin = null; 186 PluginConfiguration theConfig = null; 186 187 while (i < contextResult.size() && thePlugin == null) 187 188 { … … 189 190 { 190 191 thePlugin = contextResult.get(i).getPluginDefinition(); 192 theConfig = contextResult.get(i).getPluginConfiguration(); 191 193 } 192 194 i++; 193 195 } 194 PluginConfiguration theConfig = contextResult.get(0).getPluginConfiguration();195 196 int pluginDefinitionId = thePlugin.getId(); 196 197 int pluginConfigurationId = theConfig == null ? 0 : theConfig.getId(); … … 234 235 else if ("NewJob".equals(cmd)) 235 236 { 236 if (warnIfOpen && anotherIsOpen) throw new Exception("another is open"); 237 if (warnIfOpen && anotherIsOpen) 238 { 239 throw new DuplicateWizardException(); 240 } 237 241 String pluginClass = request.getParameter("plugin_class"); 238 242 int pluginDefinitionId = Values.getInt(request.getParameter("plugindefinition_id"));
Note: See TracChangeset
for help on using the changeset viewer.