mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
36 lines
646 B
JavaScript
36 lines
646 B
JavaScript
|
var gWEA = new Array();
|
||
|
function aWE()
|
||
|
{
|
||
|
var len = gWEA.length;
|
||
|
gWEA[len] = new ftsEntry(aWE.arguments);
|
||
|
}
|
||
|
|
||
|
function ftsEntry(fn_arguments)
|
||
|
{
|
||
|
if (fn_arguments.length && fn_arguments.length >= 1)
|
||
|
{
|
||
|
this.sItemName = fn_arguments[0];
|
||
|
this.aTopics = null;
|
||
|
var nLen = fn_arguments.length;
|
||
|
if (nLen > 1)
|
||
|
{
|
||
|
this.aTopics = new Array();
|
||
|
for (var i = 0; i < nLen - 1; i ++ )
|
||
|
{
|
||
|
this.aTopics[i] = fn_arguments[i + 1];
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function window_OnLoad()
|
||
|
{
|
||
|
if (parent && parent != this) {
|
||
|
if (parent.putFtsWData)
|
||
|
{
|
||
|
parent.putFtsWData(gWEA);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
window.onload = window_OnLoad;
|