Programm-Einstellungen anlegen
This commit is contained in:
@@ -1,31 +1,27 @@
|
||||
.pragma library
|
||||
|
||||
var dict = new Object()
|
||||
|
||||
function func(createUserGrid)
|
||||
function func(tabs)
|
||||
{
|
||||
let pyqcrm_conf = {};
|
||||
|
||||
for (var j = 0; j < createUserGrid.length; j++)
|
||||
for (var j = 0; j < tabs.length; j++)
|
||||
{
|
||||
|
||||
for (var i = 0; i < createUserGrid[j].children.length; i++)
|
||||
for (var i = 0; i < tabs[j].children.length; i++)
|
||||
{
|
||||
|
||||
|
||||
if (createUserGrid[j].children[i].name)
|
||||
if (tabs[j].children[i].name)
|
||||
{
|
||||
if (!createUserGrid[j].children[i].text.trim())
|
||||
if (!tabs[j].children[i].text.trim())
|
||||
return false
|
||||
|
||||
// dict.set(createUserGrid[j].children[i].name , createUserGrid[j].children[i].text)
|
||||
dict[createUserGrid[j].children[i].name] = createUserGrid[j].children[i].text
|
||||
|
||||
|
||||
pyqcrm_conf[tabs[j].children[i].name] = tabs[j].children[i].text
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
return dict
|
||||
|
||||
return pyqcrm_conf
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user