-
Notifications
You must be signed in to change notification settings - Fork 8
/
portlet.js
35 lines (32 loc) · 1.13 KB
/
portlet.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**
* SuiteScript Portlet APIs
*/
/**
* Causes a FORM type nlobjPortlet to immediately reload.
* This API is available within a client SuiteScript associated with a custom FORM portlet,
* or from JavaScript event handlers attached to portlet elements.
*
* This API cannot be called directly from within a FORM portlet script.
*
* @return {void}
* @since 2011.1
*/
function nlapiRefreshPortlet() {
}
/**
* Causes a FORM type nlobjPortlet to be resized.
*
* This API can be used to ensure that a custom form portlet’s embedded iframe resizes when the size
* of its contents change. This type of iframe does not resize automatically as its contents change,
* so when a form portlet’s contents shrink they are surrounded by white space, and when contents grow
* they are cut off. A call to this API prevents these display issues.
*
* This API is available within a client SuiteScript associated with a custom FORM portlet,
* or from JavaScript event handlers attached to portlet elements. This API cannot be called directly
* from within a FORM portlet script.
*
* @return {void}
* @since 2011.1
*/
function nlapiResizePortlet() {
}