%@ include file="/portal/include/include_java.jsp" %>
<%
/*
* Time in milliseconds that the sliding notifier is visible before fading out.
* Defaults to 3000 (3 seconds).
*/
%>
var STATUS_EXPIRATION = 3000;
<%
/*
* Time in milliseconds that the "Please Wait" message will delay before appearing
* when making server requests through backgroundAction or backgroundPage.
* For quick responses, it's best not to show it. This could be configured
* depending on network latency.
*/
%>
var REQUEST_MSG_DELAY = 1000;
<%
/*
* Log level for the JavaScript Logger. Valid values are LOG_ERROR,
* LOG_WARN and LOG_DEBUG.
* If an invalid value is passed, it defaults to LOG_ERROR.
*/
%>
var CLIENT_LOG_LEVEL = parseInt(window['']) || LOG_ERROR;
<%
/*
* If true, JavaScript errors are sent to the application server and can
* be seen in both the console and the ASI_LOG.log file.
*/
%>
var LOG_CLIENT_ERRORS = false;
<%
/*
* If true, all errors are caught on the client, so the user never sees any errors.
*/
%>
var TRAP_CLIENT_ERRORS = '';
<%
/**
* Interface Remote Monitor.
* If set to the remote server url, all JavaScript error messages will also be
* sent to the specified remote server. The host machine server must set the mapping
* to allow anonymous access.
*/
%>
var IRE_MON = '';
<%
/**
* Image cache for the preview pane, maximum number of images to be stored.
* You may raise this number considering your memory. To calculate how much memory this cache
* could take for the browser in the worst case, take the average image file (the image can't
* be too big since it has to be cropped when uploading it, times the max size of this cache).
* Once the cache passes it max limit, it will be flushed and start again from zero.
*/%>
var CACHE_IMAGE_MAX_SIZE = 200;
<%
/**
* Initial drilldown for the userpicker. The userpicker by defaults drillsdown to the
* departments category. This can be customized. The options for initial drilldown are:
* No drilldown: -1;
* All users = "all.users"
* Custom = 0
* Departments = 1
* Teams = 2
*/%>
var PICKER_DRILLDOWN = 1;
<%
/**
* The first time the user hovers the mouse over a user or group in the picker, a
* call will be made to the database to retrieve its data (name, title, email and image).
* To lessen the load to the databases, there is a delay between the onmouseover event
* and the query to the database.
* After that, since the data has been cached, there won't be a delay applied.
*/%>
var DELAY_BEFORE_SHOWING_PREVIEW = 500;