|
From: <sv...@de...> - 2005-06-22 21:30:26
|
Author: pcamacho Date: 2005-06-22 17:30:26 -0400 (Wed, 22 Jun 2005) New Revision: 1398 Removed: humano2/trunk/web/builder/site/js/fn_formsmng.js Log: DEL: now this file is unuseful as the creation of forms is now standard. Deleted: humano2/trunk/web/builder/site/js/fn_formsmng.js =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- humano2/trunk/web/builder/site/js/fn_formsmng.js 2005-06-22 21:19:02 = UTC (rev 1397) +++ humano2/trunk/web/builder/site/js/fn_formsmng.js 2005-06-22 21:30:26 = UTC (rev 1398) @@ -1,106 +0,0 @@ -// -// The Humano2 Business solution. -// Copyright (C) 2004,5 Humano2 Chile S.A. (http://www.humano2.com) -// -// This program is free software; you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2 of the License, or -// (at your option) any later version. -// -// $Id$ =20 - -//**********************************************************************= **************** -function loadClass(ClassValue,ClassName) -{ - //alert(ClassValue + " " + ClassName); - iFrame =3D document.getElementById("FrameTempLoad"); - iFrame.style.visibility=3D'hidden'; - if(ClassValue =3D=3D 0) - { - return; - } - document.formulario.ClassName.value =3D ClassName; - document.formulario.ClassId.value =3D ClassValue; - document.formulario.submit(); - //alert(document.formulario.ClassName.value + " "=20 - //+ document.formulario.ClassId.value); -} - -//**********************************************************************= **************** -function mostrar() -{ - iFrame =3D document.getElementById("FrameTempLoad"); - iFrame.style.width=3D '150px'; - iFrame.style.height=3D '100px'; - iFrame.style.visibility =3D 'visible'; - iFrame.src=3D"combobox_type_entity.aspx"; - //document.all.FrameTempLoad.src=3D"combobox_type_entity.aspx"; // ?= typeent=3D' + strtype_Entity + '&typeEntityFrom=3D' + typeEntityFrom + '&= IntView=3D' + vista + strelem + '"' -} -=20 -//**********************************************************************= ****************=20 -function fn_saveData() -{ - var frm =3D document.formulario; - var strError =3D ""; - =20 - if (frm.formName.value =3D=3D "") - { - strError +=3D "Error, you must insert a name.\n"; - } - =20 - frm.LstAttrib.value =3D ""; - =20 - for( var i =3D 0;i < rightColumn.fSortedList.Length();i++) - { - if(rightColumn.fSortedList.GetItem(i).value !=3D "") - { - frm.LstAttrib.value +=3D rightColumn.fSortedList.GetItem(i).= value; - if(i < rightColumn.fSortedList.Length() -1) - frm.LstAttrib.value +=3D ","; - } - } - =20 - if (strError =3D=3D "") - { - if (frm.opaction.value =3D=3D 0) - { - frm.opaction.value=3D1; - } - frm.submit(); - }else{ - alert(strError); - } -} - -//**********************************************************************= ****************=20 -function fn_deleteData() -{ - //var frm =3D document.formulario; - //var strError =3D ""; - - //alert("Antes :: " + document.formulario.opAction.value); - document.formulario.opaction.setAttribute("value",3);// =3D 3; //val= ue",3); - =20 - //alert("Despues :: " + document.formulario.opaction.value); - //document.formulario.submit(); - =20 - //var folderId =3D document.formulario.folderid.value; - //var url[] =3D String(document.location).split("?"); - =20 - //alert(document.formulario.opaction.value); - //document.location =3D "foldermanagement.aspx?opaction=3D3&folderId= =3D" + folderId;=20 - document.formulario.submit(); -} - -//**********************************************************************= ****************=20 -function fn_setFolderParentId(parentid) -{ - var frm =3D document.formulario; - //alert(parentid); - =20 - if(parentid !=3D null || parentid > 0) - { - frm.folderparentid.value =3D parentid; - } - //alert(frm.folderparent.options[pos].value); =20 -} =20 |