mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Updated OpenSearch UI after Linton review
- Multiple OpenSearch clients can now be added to a single page - Configured OpenSearch as a dashlet - Made the lookup for beans in portal session more rigorous for AJAX invoke command - Updated paging graphics git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -3,8 +3,33 @@
|
||||
// Gavin Cornwell 14-07-2006
|
||||
//
|
||||
|
||||
// Global Alfresco namespace object
|
||||
if (typeof Alfresco == "undefined")
|
||||
{
|
||||
var Alfresco = {};
|
||||
}
|
||||
|
||||
var _alfContextPath = null;
|
||||
|
||||
/**
|
||||
* Error handler for errors caught in a catch block
|
||||
*/
|
||||
function handleCaughtError(err)
|
||||
{
|
||||
var msg = null;
|
||||
|
||||
if (err.message)
|
||||
{
|
||||
msg = err.message;
|
||||
}
|
||||
else
|
||||
{
|
||||
msg = err;
|
||||
}
|
||||
|
||||
alert("An error occurred: " + msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Default handler for errors when using the dojo toolkit
|
||||
*/
|
||||
|
Reference in New Issue
Block a user