am.js revision 882a5c409c38d55a67ffb61c8cb53c6b67029b79
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: am.js,v 1.10 2009/07/20 23:02:31 asyhuang Exp $
*
*/
/*
* Portions Copyrighted 2014-2015 ForgeRock AS.
* Portions Copyrighted 2015 Nomura Research Institute, Ltd.
*/
/**
* URL of JATO component that handles script upload.
* @type {string}
*/
var SCRIPT_UPLOAD_URL = "ScriptUploader";
var origFrmAction = '';
var tblBtnCounter = new Array();
function openNewWindow() {
var feature = 'directories=no,location=0,menubar=0,status=0,titlebar=yes,toolbar=no,scrollbars=yes,width=800,height=600,resizable=yes';
}
}
/**
* Submit a dynamic validation request for the specific attribute.
* @param btn The button from which this request originated.
* @param val The name of the attribute for which the validation is needed.
*/
}
/**
* Submits a dynamic request to upload a file on a property sheet.
* @param btn The button from which this request originated.
* @param val The name of the attribute for which the validation is needed.
*/
var uploadWindow = window.open("../authentication/" + SCRIPT_UPLOAD_URL, val, 'height=300,width=650');
}
function resetForm() {
}
/**
* Enables and Disables the Delete button of a table.
*
* @param formName Name of form.
* @param tblName Name of table.
* @param counterName Name of counter.
* @param btn Button object.
* @param trigger Object that triggers this event.
*/
}
/**
* Enables and Disables the Delete button of a table.
*
* @param formName Name of form.
* @param tblName Name of table.
* @param counterName Name of counter.
* @param btn Button object.
* @param trigger Object that triggers this event.
* @param singleCheckbox true if button is enable is only one checkbox iss
* selected.
*/
}
} else {
} else {
}
}
if (btn) {
}
}
}
var cbCount = 0;
if ((e.type == 'checkbox') &&
) {
cbCount++;
}
}
return cbCount;
}
function getXmlHttpRequestObject() {
if(window.ActiveXObject) {
} else {
return new XMLHttpRequest();
}
}
}
}
}
}
function fade() {
// all but Explorer Mac
} else { // works in Explorer 6 Strict, Mozilla (not FF) and Safari
}
}
function getWindowHeight() {
var myHeight = 0;
//Non-IE
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
//IE 4 compatible
}
return myHeight;
}
function focusMain() {
}
for (var i = 0; i < r.length; i++) {
r[i].checked = true;
}
}
}
for (var i = 0; i < r.length; i++) {
if (r[i].checked) {
return r[i].value;
}
}
}
for (var i = 0; i < sz; i++) {
return;
}
}
}
for (var i = 0; i < sz; i++) {
}
}
return "";
}
}
}
}
function constructArray(strArray) {
if (idx != -1) {
var secIdx = 0;
while (idx != -1) {
secIdx++;
}
if (str != "") {
}
}
}
}
if (btn) {
if (bDisable) {
} else {
}
}
}
function escapeEx(d) {
var escaped = encodeURIComponent(d);
}
function hexToString(str) {
var result = '';
while (idx != -1) {
if (idx > 0) {
}
}
return result;
}