mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Incorporated new sidebar which contains the shelf and navigator (tree) components
- Changed version number to 2.0.0 (dev) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4538 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
//
|
||||
|
||||
/**
|
||||
* Default handler for errors
|
||||
* Default handler for errors when using the dojo toolkit
|
||||
*/
|
||||
function handleErrorDojo(type, errObj)
|
||||
{
|
||||
@@ -19,4 +19,22 @@ function handleErrorDojo(type, errObj)
|
||||
|
||||
// TODO: Show a nicer error page, an alert will do for now!
|
||||
alert(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Default handler for errors when using the yahoo toolkit
|
||||
*/
|
||||
function handleErrorYahoo(msg)
|
||||
{
|
||||
// TODO: Show a nicer error page, an alert will do for now!
|
||||
alert(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Calculates and returns the context path for the current page
|
||||
*/
|
||||
function getContextPath()
|
||||
{
|
||||
var w = window.location;
|
||||
alert(w.pathname);
|
||||
}
|
Reference in New Issue
Block a user