mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Web Scripts:
- addition of extension paths for web script customisations - updated "delete ticket" web script to return appropriate response on success git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -97,7 +97,16 @@ public class WebScriptStorage implements ApplicationContextAware, ApplicationLis
|
||||
@SuppressWarnings("unchecked")
|
||||
public Collection<WebScriptStore> getStores()
|
||||
{
|
||||
return applicationContext.getBeansOfType(WebScriptStore.class, false, false).values();
|
||||
Collection<WebScriptStore> allstores = applicationContext.getBeansOfType(WebScriptStore.class, false, false).values();
|
||||
Collection<WebScriptStore> stores = new ArrayList<WebScriptStore>();
|
||||
for (WebScriptStore store : allstores)
|
||||
{
|
||||
if (store.exists())
|
||||
{
|
||||
stores.add(store);
|
||||
}
|
||||
}
|
||||
return stores;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user